Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.98 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1581, allocations: 62.45 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001854/0.16, allocations: 471.7 kB / 480.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.1636, allocations: 2.135 MB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.1637, allocations: 0 / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.1637, allocations: 0 / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.1638, allocations: 4 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1653, allocations: 402.7 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.1654, allocations: 3.984 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.1655, allocations: 4 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.895e-05/0.1655, allocations: 0 / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/0.1813, allocations: 3.341 MB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1813, allocations: 0 / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1815, allocations: 8 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1815, allocations: 3.984 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.1815, allocations: 0 / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1817, allocations: 11.98 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1817, allocations: 3.938 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1817, allocations: 0 / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1817, allocations: 4 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003461/0.1821, allocations: 319.5 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1821, allocations: 11.97 kB / 486.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.1824, allocations: 88.2 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1826, allocations: 235.7 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/0.1826, allocations: 150.9 kB / 487.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.1827, allocations: 166.7 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.185e-05/0.1828, allocations: 101 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1829, allocations: 75.28 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.1829, allocations: 154.6 kB / 487.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.183, allocations: 154.6 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.1831, allocations: 154.5 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1834, allocations: 445.9 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.1835, allocations: 169.1 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.1835, allocations: 84.08 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1836, allocations: 75.28 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.1836, allocations: 121.8 kB / 488.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.1836, allocations: 0 / 488.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.3e-05/0.1837, allocations: 25.7 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.1838, allocations: 178.1 kB / 489 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1839, allocations: 97.86 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1839, allocations: 25.7 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.184, allocations: 80.14 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.184, allocations: 4.125 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.184, allocations: 13.72 kB / 489.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1841, allocations: 310.8 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.1842, allocations: 4 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.1842, allocations: 17.7 kB / 489.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.1842, allocations: 79.22 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/0.1843, allocations: 75.28 kB / 489.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.826e-05/0.1843, allocations: 37.67 kB / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.1844, allocations: 85.78 kB / 489.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/0.1844, allocations: 75.28 kB / 489.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.851e-05/0.1845, allocations: 154.5 kB / 490.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.77e-05/0.1845, allocations: 79.28 kB / 490.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.428e-05/0.1846, allocations: 158.5 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1847, allocations: 83.33 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1847, allocations: 75.28 kB / 490.5 MB, free: 11.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000138/0.1849, allocations: 264.4 kB / 490.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.185, allocations: 108.9 kB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.185, allocations: 108.1 kB / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/0.1851, allocations: 184.2 kB / 491.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.919e-05/0.1852, allocations: 180.3 kB / 491.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-05/0.1852, allocations: 176.3 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1855, allocations: 417 kB / 491.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.711e-05/0.1855, allocations: 101 kB / 492 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.1856, allocations: 104.9 kB / 492.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.224e-05/0.1856, allocations: 180.6 kB / 492.2 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.1857, allocations: 184.2 kB / 492.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.249e-05/0.1858, allocations: 184.2 kB / 492.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.813e-05/0.1858, allocations: 184.3 kB / 492.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.186, allocations: 311.7 kB / 493.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.1861, allocations: 186.1 kB / 493.3 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.1862, allocations: 184.2 kB / 493.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1862, allocations: 101 kB / 493.5 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.1863, allocations: 184.2 kB / 493.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1864, allocations: 101 kB / 493.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.1864, allocations: 79.28 kB / 493.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1864, allocations: 0 / 493.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1867, allocations: 4 kB / 493.9 MB, free: 7.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001149/0.1868, allocations: 170.5 kB / 494.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.1869, allocations: 7.938 kB / 494.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1869, allocations: 0 / 494.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.1869, allocations: 0 / 494.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1873, allocations: 466.2 kB / 494.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.1876, allocations: 156.1 kB / 494.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1879, allocations: 0.669 MB / 495.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.188, allocations: 7.984 kB / 495.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.188, allocations: 7.438 kB / 495.4 MB, free: 5.969 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.188, allocations: 0 / 495.4 MB, free: 5.969 MB / 366.1 MB Notification: Performance of Templates: time 0.002714/0.1907, allocations: 308.6 kB / 495.7 MB, free: 5.668 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches