Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007883/0.0007883, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00322/0.00322, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.908/0.908, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 34.26 MB / 295.7 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.501e-05, allocations: 2.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00105/0.001075, allocations: 497 kB / 443.9 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1707/0.1718, allocations: 2.063 MB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.1718, allocations: 0 / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1718, allocations: 0 / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.884e-05/0.1718, allocations: 1.297 kB / 446 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.1727, allocations: 398.4 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.1727, allocations: 15.52 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.1727, allocations: 0 / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.1728, allocations: 6.281 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006902/0.1797, allocations: 3.384 MB / 449.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1797, allocations: 0 / 449.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.1797, allocations: 2.75 kB / 449.7 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1798, allocations: 7.984 kB / 449.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.1798, allocations: 2.469 kB / 449.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1799, allocations: 9.078 kB / 449.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1799, allocations: 0 / 449.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1799, allocations: 0 / 449.8 MB, free: 42.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1799, allocations: 0 / 449.8 MB, free: 42.4 MB / 410.7 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.0001849/0.1801, allocations: 240 kB / 450 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1801, allocations: 16.11 kB / 450 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1803, allocations: 85.94 kB / 450.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.1804, allocations: 183.4 kB / 450.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1804, allocations: 158.9 kB / 450.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1804, allocations: 153.9 kB / 450.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.528e-05/0.1804, allocations: 105.7 kB / 450.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1804, allocations: 75.28 kB / 450.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1804, allocations: 154.5 kB / 450.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1805, allocations: 153.6 kB / 451.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.435e-05/0.1805, allocations: 154.6 kB / 451.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.1806, allocations: 396.5 kB / 451.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.89e-05/0.1806, allocations: 178.9 kB / 451.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.1806, allocations: 80.14 kB / 451.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.1806, allocations: 75.28 kB / 451.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1807, allocations: 108.7 kB / 452 MB, free: 40.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 5.01e-07/0.1807, allocations: 0 / 452 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 5.005e-05/0.1807, allocations: 33.58 kB / 452.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1807, allocations: 181.1 kB / 452.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.1808, allocations: 93.86 kB / 452.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.1808, allocations: 36.25 kB / 452.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-06/0.1808, allocations: 80.14 kB / 452.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1808, allocations: 0 / 452.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.1808, allocations: 12.72 kB / 452.5 MB, free: 39.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.767e-05/0.1809, allocations: 310.8 kB / 452.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.1809, allocations: 0 / 452.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.1809, allocations: 63.47 kB / 452.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.699e-06/0.1809, allocations: 77.94 kB / 452.9 MB, free: 39.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1809, allocations: 75.28 kB / 453 MB, free: 39.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.695e-05/0.1809, allocations: 39.8 kB / 453 MB, free: 39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.181, allocations: 81.25 kB / 453.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.181, allocations: 79.31 kB / 453.2 MB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.181, allocations: 157.5 kB / 453.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-06/0.181, allocations: 87.2 kB / 453.4 MB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.181, allocations: 150.6 kB / 453.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.181, allocations: 82.25 kB / 453.6 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1811, allocations: 78.38 kB / 453.7 MB, free: 38.31 MB / 410.7 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 4.407e-05/0.1811, allocations: 264.4 kB / 454 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1811, allocations: 108 kB / 454.1 MB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.1811, allocations: 107.9 kB / 454.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.1811, allocations: 186.3 kB / 454.4 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.1812, allocations: 184.2 kB / 454.5 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.1812, allocations: 179.2 kB / 454.7 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.536e-05/0.1812, allocations: 362.9 kB / 455.1 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.1813, allocations: 101 kB / 455.2 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-06/0.1813, allocations: 101 kB / 455.3 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.1813, allocations: 183.2 kB / 455.5 MB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1813, allocations: 176.3 kB / 455.6 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.1813, allocations: 189 kB / 455.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/0.1813, allocations: 180.2 kB / 456 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.043e-05/0.1814, allocations: 308.1 kB / 456.3 MB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.1814, allocations: 110.3 kB / 456.4 MB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1814, allocations: 184.2 kB / 456.6 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.774e-05/0.1814, allocations: 103.9 kB / 456.7 MB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.1815, allocations: 186.8 kB / 456.9 MB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1815, allocations: 104.9 kB / 457 MB, free: 34.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.82e-05/0.1815, allocations: 75.28 kB / 457 MB, free: 34.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1815, allocations: 0 / 457 MB, free: 34.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.1817, allocations: 3.094 kB / 457 MB, free: 34.86 MB / 410.7 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 6.691e-05/0.1817, allocations: 165.7 kB / 457.2 MB, free: 34.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.486e-05/0.1818, allocations: 10.97 kB / 457.2 MB, free: 34.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1818, allocations: 0 / 457.2 MB, free: 34.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.1818, allocations: 0 / 457.2 MB, free: 34.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.1819, allocations: 458.5 kB / 457.7 MB, free: 34.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001425/0.1821, allocations: 182.6 kB / 457.8 MB, free: 34.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.649e-05/0.1821, allocations: 54.27 kB / 457.9 MB, free: 33.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.1821, allocations: 8.5 kB / 457.9 MB, free: 33.96 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1821, allocations: 2.875 kB / 457.9 MB, free: 33.96 MB / 410.7 MB Notification: Performance of Templates: time 0.001111/0.1832, allocations: 384.7 kB / 458.3 MB, free: 33.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.591428472660482]