Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 93.92 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.000314, allocations: 8 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003094/0.141, allocations: 1.305 MB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1426, allocations: 0.5455 MB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1427, allocations: 4 kB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.1428, allocations: 3.938 kB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.143, allocations: 15.86 kB / 361.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.1435, allocations: 59.81 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1436, allocations: 43.86 kB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1438, allocations: 20.16 kB / 361.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.144, allocations: 27.92 kB / 361.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.1441, allocations: 19.8 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.1441, allocations: 4 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.1442, allocations: 4 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.1443, allocations: 15.92 kB / 361.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.1444, allocations: 49.45 kB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1446, allocations: 59.73 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1446, allocations: 4 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.377e-05/0.1446, allocations: 3.984 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1446, allocations: 0 / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007781/0.1454, allocations: 371.5 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/0.1455, allocations: 8.031 kB / 361.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.1457, allocations: 20.83 kB / 361.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1461, allocations: 196.7 kB / 362 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1461, allocations: 12.38 kB / 362 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1461, allocations: 3.938 kB / 362 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.1466, allocations: 113.9 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1466, allocations: 7.938 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1467, allocations: 0 / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1467, allocations: 4 kB / 362.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1468, allocations: 23.98 kB / 362.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.1473, allocations: 278.4 kB / 362.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1476, allocations: 79.78 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1477, allocations: 34.62 kB / 362.6 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1477, allocations: 4 kB / 362.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1478, allocations: 34.56 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1478, allocations: 0 / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004452/0.1482, allocations: 89.83 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.1484, allocations: 110.8 kB / 362.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1486, allocations: 149.7 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1486, allocations: 25.7 kB / 363 MB, free: 9.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.1487, allocations: 92.14 kB / 363.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1487, allocations: 3.984 kB / 363.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1488, allocations: 9.719 kB / 363.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.149, allocations: 318.8 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.149, allocations: 15.98 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.1491, allocations: 39.41 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1493, allocations: 55.36 kB / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1493, allocations: 0 / 363.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001815/0.1495, allocations: 77.47 kB / 363.6 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1495, allocations: 4 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1495, allocations: 128 / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1495, allocations: 4 kB / 363.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.1496, allocations: 19.92 kB / 363.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1497, allocations: 3.984 kB / 363.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.1497, allocations: 7.938 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1498, allocations: 0 / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.1499, allocations: 129.7 kB / 363.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1501, allocations: 49.55 kB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.1501, allocations: 19.92 kB / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1502, allocations: 0 / 363.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1502, allocations: 4 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1502, allocations: 3.938 kB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.1505, allocations: 173.6 kB / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1505, allocations: 0 / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.1506, allocations: 11.98 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1506, allocations: 0 / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1506, allocations: 0 / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1507, allocations: 4 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1507, allocations: 4 kB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.151, allocations: 185 kB / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.1511, allocations: 93 kB / 364.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1511, allocations: 11.98 kB / 364.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1513, allocations: 8 kB / 364.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1513, allocations: 3.938 kB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1514, allocations: 0 / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1515, allocations: 114.6 kB / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1515, allocations: 0 / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.152, allocations: 8 kB / 364.4 MB, free: 7.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.1521, allocations: 95.25 kB / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.1524, allocations: 39.92 kB / 364.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1524, allocations: 0 / 364.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.642e-05/0.1525, allocations: 15.92 kB / 364.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007603/0.1532, allocations: 24.02 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.1538, allocations: 210.8 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.1542, allocations: 0.6965 MB / 365.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.651e-05/0.1543, allocations: 7.984 kB / 365.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1543, allocations: 15.38 kB / 365.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1543, allocations: 0 / 365.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of Templates: time 0.00425/0.1586, allocations: 0.5401 MB / 366 MB, free: 6 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches