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.001635/0.001635, allocations: 76.66 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001813/0.001813, allocations: 166.3 kB / 23.21 MB, free: 4.906 MB / 14.72 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.416/1.416, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.2386/0.2386, allocations: 32.39 MB / 269.6 MB, free: 4.66 MB / 254.1 MB " [Timeout remaining time 179] 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 2.434e-06/2.434e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.256e-05/4.499e-05, allocations: 2.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001777/0.001822, allocations: 0.4907 MB / 407.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.005843, allocations: 1.987 MB / 409.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.005869, allocations: 3.938 kB / 409.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.005886, allocations: 0 / 409.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.432e-05/0.00592, allocations: 3.938 kB / 409.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.007433, allocations: 378.5 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.007503, allocations: 11.94 kB / 410.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.007561, allocations: 0 / 410.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.007597, allocations: 3.984 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02297/0.03057, allocations: 3.38 MB / 413.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.03061, allocations: 0 / 413.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.03078, allocations: 8 kB / 413.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.0308, allocations: 0 / 413.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.03085, allocations: 3.984 kB / 413.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.03113, allocations: 12 kB / 413.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.03114, allocations: 0 / 413.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.03115, allocations: 3.938 kB / 413.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.03116, allocations: 0 / 413.6 MB, free: 12.84 MB / 350.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.0005903/0.03175, allocations: 242.4 kB / 413.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.03182, allocations: 15.97 kB / 413.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.0322, allocations: 84.22 kB / 413.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.03244, allocations: 193 kB / 414.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.03255, allocations: 150.9 kB / 414.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.03265, allocations: 150.9 kB / 414.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.03279, allocations: 105.4 kB / 414.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/0.03286, allocations: 79.22 kB / 414.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.03299, allocations: 154.6 kB / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.0331, allocations: 150.6 kB / 414.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.03323, allocations: 154.6 kB / 415.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.03363, allocations: 393.6 kB / 415.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.03377, allocations: 169.1 kB / 415.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.03382, allocations: 84.14 kB / 415.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.03388, allocations: 79.28 kB / 415.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.359e-05/0.03396, allocations: 113.8 kB / 415.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.03396, allocations: 0 / 415.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001156/0.03408, allocations: 29.64 kB / 415.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.03423, allocations: 182.1 kB / 416.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.03436, allocations: 89.86 kB / 416.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.03439, allocations: 25.7 kB / 416.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.03445, allocations: 84.14 kB / 416.3 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.03446, allocations: 3.938 kB / 416.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.03451, allocations: 17.84 kB / 416.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.03468, allocations: 314.8 kB / 416.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.03468, allocations: 0 / 416.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.03476, allocations: 65.11 kB / 416.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.03481, allocations: 75.28 kB / 416.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.973e-05/0.03485, allocations: 79.28 kB / 416.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.961e-05/0.03492, allocations: 29.7 kB / 416.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.03497, allocations: 83.28 kB / 416.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/0.03501, allocations: 79.22 kB / 417 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.15e-05/0.0351, allocations: 154.5 kB / 417.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/0.03515, allocations: 87.22 kB / 417.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.542e-05/0.03523, allocations: 162.5 kB / 417.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.03533, allocations: 75.28 kB / 417.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.03537, allocations: 83.22 kB / 417.6 MB, free: 8.672 MB / 350.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.0001902/0.03556, allocations: 260.5 kB / 417.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.03564, allocations: 105 kB / 417.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.03571, allocations: 115.7 kB / 418 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.273e-05/0.0358, allocations: 184.2 kB / 418.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001145/0.03592, allocations: 180.3 kB / 418.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/0.03603, allocations: 180.2 kB / 418.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.03633, allocations: 356.8 kB / 418.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.657e-05/0.0364, allocations: 113.2 kB / 419 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.03647, allocations: 101 kB / 419.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/0.03661, allocations: 180.3 kB / 419.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.03676, allocations: 184.2 kB / 419.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001587/0.03692, allocations: 176.3 kB / 419.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001267/0.03705, allocations: 192.1 kB / 419.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.03732, allocations: 303.8 kB / 420.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.03742, allocations: 108.9 kB / 420.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.03757, allocations: 184.2 kB / 420.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.03772, allocations: 104.9 kB / 420.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.03786, allocations: 192.2 kB / 420.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/0.03794, allocations: 101 kB / 420.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.03802, allocations: 75.28 kB / 420.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03802, allocations: 4 kB / 420.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.03833, allocations: 3.938 kB / 420.9 MB, free: 5.152 MB / 350.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.0002268/0.03856, allocations: 166.5 kB / 421 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.03865, allocations: 0 / 421 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.03865, allocations: 0 / 421 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.03866, allocations: 4 kB / 421.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/0.0393, allocations: 467.8 kB / 421.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.03968, allocations: 148.3 kB / 421.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.03977, allocations: 55.36 kB / 421.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.03981, allocations: 0 / 421.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.03983, allocations: 8.5 kB / 421.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.284e-06/0.03984, allocations: 7.875 kB / 421.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of Templates: time 0.003613/0.04345, allocations: 348.7 kB / 422.1 MB, free: 3.918 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.302781108766794]