Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001099/0.001099, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001101/0.001101, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1608/0.1608, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.219e-05, allocations: 12.22 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001946/0.001978, allocations: 0.5043 MB / 348.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.004889, allocations: 2.047 MB / 350.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.004917, allocations: 0 / 350.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.004948, allocations: 0 / 350.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.849e-05/0.004976, allocations: 0 / 350.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.006672, allocations: 386.5 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.00674, allocations: 8 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.006791, allocations: 0 / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.006832, allocations: 7.938 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.01863, allocations: 4.809 MB / 355.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.01866, allocations: 4 kB / 355.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.01877, allocations: 7.984 kB / 355.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.01878, allocations: 0 / 355.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.01881, allocations: 8 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.01899, allocations: 7.984 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.01899, allocations: 3.938 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01899, allocations: 0 / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.019, allocations: 0 / 355.4 MB, free: 1.77 MB / 282.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.0002319/0.01923, allocations: 352.3 kB / 355.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.01928, allocations: 8.031 kB / 355.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.01944, allocations: 136.1 kB / 355.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.777e-05/0.01952, allocations: 223.8 kB / 356.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.01955, allocations: 242.7 kB / 356.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.01957, allocations: 242.8 kB / 356.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.508e-05/0.01962, allocations: 149.4 kB / 356.7 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.01963, allocations: 123.1 kB / 356.9 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.01966, allocations: 242.4 kB / 357.1 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/0.01974, allocations: 238.4 kB / 357.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.01979, allocations: 246.3 kB / 357.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.02003, allocations: 0.5603 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.895e-05/0.02013, allocations: 273.4 kB / 358.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/0.02017, allocations: 126.9 kB / 358.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.0202, allocations: 119.2 kB / 358.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.02025, allocations: 160.5 kB / 358.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.02025, allocations: 0 / 358.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 7.233e-05/0.02033, allocations: 33.62 kB / 358.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.0204, allocations: 222 kB / 359.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.02051, allocations: 153.9 kB / 359.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.02052, allocations: 29.7 kB / 359.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.02056, allocations: 126.9 kB / 359.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.02056, allocations: 4.125 kB / 359.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.02059, allocations: 19.38 kB / 359.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.02071, allocations: 492.1 kB / 359.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-06/0.02072, allocations: 0 / 359.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.02078, allocations: 74.72 kB / 359.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.02081, allocations: 123.2 kB / 360.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/0.02084, allocations: 119.2 kB / 360.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.419e-05/0.02088, allocations: 29.7 kB / 360.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.02093, allocations: 123.2 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.35e-05/0.021, allocations: 131.2 kB / 360.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.558e-05/0.02107, allocations: 246.2 kB / 360.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.052e-05/0.0211, allocations: 123.2 kB / 360.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.498e-05/0.02115, allocations: 242.3 kB / 361 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.02121, allocations: 127.2 kB / 361.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.02124, allocations: 119.2 kB / 361.3 MB, free: 11.65 MB / 298.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 0.0001897/0.02143, allocations: 402.9 kB / 361.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.02148, allocations: 144.9 kB / 361.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.02154, allocations: 152.1 kB / 362 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.175e-05/0.0216, allocations: 279.9 kB / 362.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.315e-05/0.02167, allocations: 272.1 kB / 362.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.255e-05/0.02173, allocations: 272 kB / 362.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.02202, allocations: 495.9 kB / 363.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.02205, allocations: 152.9 kB / 363.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.02209, allocations: 152.8 kB / 363.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.849e-05/0.02215, allocations: 264.1 kB / 363.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.02221, allocations: 272 kB / 364.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-05/0.02227, allocations: 268.1 kB / 364.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.813e-05/0.02233, allocations: 268 kB / 364.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.02247, allocations: 448 kB / 365 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.02251, allocations: 148.8 kB / 365.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.02259, allocations: 272.1 kB / 365.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.02265, allocations: 152.9 kB / 365.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.02272, allocations: 275.9 kB / 365.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.02275, allocations: 148.9 kB / 366 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.02279, allocations: 119.2 kB / 366.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02279, allocations: 0 / 366.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.02295, allocations: 4 kB / 366.1 MB, free: 6.598 MB / 298.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 0.0001081/0.02305, allocations: 210.4 kB / 366.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.02311, allocations: 3.938 kB / 366.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02311, allocations: 0 / 366.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.02312, allocations: 8.094 kB / 366.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.02367, allocations: 0.7023 MB / 367.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.02389, allocations: 211.1 kB / 367.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.02392, allocations: 51.36 kB / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.02394, allocations: 0 / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.02396, allocations: 8.5 kB / 367.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.02396, allocations: 0 / 367.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of Templates: time 0.001944/0.0259, allocations: 357.1 kB / 367.7 MB, free: 5.008 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3204531208612025]