Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 77.39 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 155.5 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.235e-05, allocations: 2.281 kB / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03252/0.03254, allocations: 23.82 MB / 342.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.03564, allocations: 1.995 MB / 344.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.03572, allocations: 5.406 kB / 344.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.0361, allocations: 59.09 kB / 344.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.03651, allocations: 155.5 kB / 344.9 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01843/0.05495, allocations: 6.564 MB / 351.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.05549, allocations: 318.7 kB / 351.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.05554, allocations: 5.312 kB / 351.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.05585, allocations: 171.5 kB / 352 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.05608, allocations: 111.7 kB / 352.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.05612, allocations: 12 kB / 352.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01785/0.07397, allocations: 8.992 MB / 361.1 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.07412, allocations: 71.78 kB / 361.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.07429, allocations: 71.89 kB / 361.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.08795, allocations: 5.87 MB / 367.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.08796, allocations: 0 / 367.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08796, allocations: 0 / 367.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.08796, allocations: 0 / 367.1 MB, free: 11.43 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003309/0.09127, allocations: 1.059 MB / 368.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.09131, allocations: 16.86 kB / 368.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.09148, allocations: 28.59 kB / 368.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.0918, allocations: 156.9 kB / 368.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.09182, allocations: 12.33 kB / 368.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.09187, allocations: 20 kB / 368.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.09274, allocations: 396.2 kB / 368.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.09275, allocations: 0 / 368.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.09279, allocations: 12 kB / 368.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.09281, allocations: 4 kB / 368.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.0937, allocations: 303.8 kB / 369.1 MB, free: 9.34 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.09531, allocations: 0.6556 MB / 369.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.09612, allocations: 241.1 kB / 370 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.09648, allocations: 129.6 kB / 370.1 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.1091, allocations: 2.694 MB / 372.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.1092, allocations: 34.56 kB / 372.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.1092, allocations: 0 / 372.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003212/0.1124, allocations: 0.703 MB / 373.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.1125, allocations: 85.05 kB / 373.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1126, allocations: 137.7 kB / 373.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.1127, allocations: 33.64 kB / 373.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1127, allocations: 108.9 kB / 373.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1129, allocations: 134.8 kB / 374 MB, free: 4.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.113, allocations: 69.69 kB / 374.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1132, allocations: 330.8 kB / 374.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.1137, allocations: 135.9 kB / 374.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.1143, allocations: 215.5 kB / 374.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1154, allocations: 359.2 kB / 375.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1154, allocations: 0 / 375.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00134/0.1167, allocations: 424.5 kB / 375.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1167, allocations: 8 kB / 375.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1167, allocations: 0 / 375.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1168, allocations: 4 kB / 375.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.1173, allocations: 100.1 kB / 375.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1173, allocations: 4 kB / 375.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.1176, allocations: 31.86 kB / 375.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.1177, allocations: 16 kB / 375.7 MB, free: 2.555 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001706/0.1178, allocations: 149.6 kB / 375.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.118, allocations: 19.91 kB / 375.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005222/0.1185, allocations: 178.5 kB / 376 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1185, allocations: 4 kB / 376 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1185, allocations: 0 / 376 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1185, allocations: 3.984 kB / 376 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.1204, allocations: 0.6657 MB / 376.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1204, allocations: 160 / 376.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.1208, allocations: 83.88 kB / 376.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1208, allocations: 7.875 kB / 376.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.1209, allocations: 12 kB / 376.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1209, allocations: 4 kB / 376.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1209, allocations: 0 / 376.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.1226, allocations: 0.7037 MB / 377.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1227, allocations: 47.73 kB / 377.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.1228, allocations: 12 kB / 377.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.1232, allocations: 28.03 kB / 377.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.1232, allocations: 27.95 kB / 377.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1233, allocations: 8 kB / 377.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.1233, allocations: 103.2 kB / 377.7 MB, free: 412 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1233, allocations: 0 / 377.7 MB, free: 412 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002569/0.1259, allocations: 0.9472 MB / 378.7 MB, free: 15.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (37): * Single equations (assignments): 37 * 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.00418/0.1301, allocations: 1.392 MB / 380.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1312, allocations: 338.5 kB / 380.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.1312, allocations: 4 kB / 380.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.1317, allocations: 170.9 kB / 380.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.1325, allocations: 96.92 kB / 380.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1339, allocations: 0.5263 MB / 381.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.134, allocations: 128.9 kB / 381.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.1344, allocations: 89.81 kB / 381.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.1346, allocations: 44.47 kB / 381.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1346, allocations: 0 / 381.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Templates: time 0.04624/0.1808, allocations: 29.7 MB / 411.2 MB, free: 14.98 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 6.305495712906122]