Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001879/0.001879, allocations: 103.5 kB / 21.74 MB, free: 2.688 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.001962/0.001962, allocations: 166.3 kB / 25.03 MB, free: 8.941 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.349/1.349, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.48e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04198/0.042, allocations: 26.37 MB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.04585, allocations: 2.22 MB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.04593, allocations: 4 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.04629, allocations: 55.61 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.0467, allocations: 155 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01666/0.06337, allocations: 6.24 MB / 285.4 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.06388, allocations: 318.7 kB / 285.7 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.06392, allocations: 5.312 kB / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.06425, allocations: 179.5 kB / 285.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.0645, allocations: 115.7 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.06455, allocations: 12 kB / 286 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.08262, allocations: 8.884 MB / 294.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.08278, allocations: 71.84 kB / 295 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.08296, allocations: 75.83 kB / 295 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.09682, allocations: 5.842 MB / 300.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.09682, allocations: 0 / 300.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09682, allocations: 0 / 300.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.09683, allocations: 0 / 300.9 MB, free: 5.137 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003341/0.1002, allocations: 1.151 MB / 302 MB, free: 3.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1002, allocations: 15.98 kB / 302.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.1004, allocations: 44.48 kB / 302.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1007, allocations: 155.8 kB / 302.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1008, allocations: 12.33 kB / 302.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.1008, allocations: 19.98 kB / 302.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.1016, allocations: 349.9 kB / 302.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1016, allocations: 0 / 302.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.1016, allocations: 8 kB / 302.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.1017, allocations: 4 kB / 302.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.1023, allocations: 207.8 kB / 302.8 MB, free: 3.078 MB / 282.7 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.001593/0.1039, allocations: 0.7164 MB / 303.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.1047, allocations: 242.1 kB / 303.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.105, allocations: 119.2 kB / 303.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.1176, allocations: 2.723 MB / 306.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.1177, allocations: 45.33 kB / 306.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.585e-06/0.1177, allocations: 0 / 306.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.002769/0.1204, allocations: 0.6246 MB / 307.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.1205, allocations: 85.11 kB / 307.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1207, allocations: 189.8 kB / 307.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.1207, allocations: 29.7 kB / 307.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1209, allocations: 163.7 kB / 307.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.121, allocations: 134.8 kB / 307.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1212, allocations: 87.3 kB / 308 MB, free: 13.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.1215, allocations: 0.504 MB / 308.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.1218, allocations: 115.9 kB / 308.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.1223, allocations: 221 kB / 308.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008738/0.1232, allocations: 353.1 kB / 309.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1232, allocations: 3.938 kB / 309.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001134/0.1243, allocations: 407.9 kB / 309.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.1243, allocations: 8 kB / 309.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1243, allocations: 4.219 kB / 309.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1243, allocations: 4 kB / 309.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.1248, allocations: 83.89 kB / 309.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.1248, allocations: 7.984 kB / 309.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.1251, allocations: 15.94 kB / 309.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.1251, allocations: 19.98 kB / 309.7 MB, free: 11.98 MB / 298.7 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.0002168/0.1254, allocations: 184.4 kB / 309.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.1256, allocations: 51.67 kB / 309.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.1261, allocations: 174.5 kB / 310.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1261, allocations: 4 kB / 310.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1261, allocations: 4 kB / 310.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1261, allocations: 3.984 kB / 310.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.1278, allocations: 0.6867 MB / 310.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1278, allocations: 4 kB / 310.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.1282, allocations: 67.89 kB / 310.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1282, allocations: 7.938 kB / 310.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.1282, allocations: 15.98 kB / 310.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1282, allocations: 0 / 310.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1282, allocations: 8.156 kB / 310.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.1298, allocations: 0.7597 MB / 311.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1299, allocations: 51.73 kB / 311.7 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.13, allocations: 11.98 kB / 311.7 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.1303, allocations: 12 kB / 311.7 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.1303, allocations: 31.89 kB / 311.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.1304, allocations: 24.02 kB / 311.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1305, allocations: 139.1 kB / 311.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1305, allocations: 0 / 311.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003222/0.1337, allocations: 0.9355 MB / 312.9 MB, free: 8.688 MB / 298.7 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.00482/0.1386, allocations: 1.405 MB / 314.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1396, allocations: 323 kB / 314.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1396, allocations: 0 / 314.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.1401, allocations: 180.8 kB / 314.8 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.1409, allocations: 110.3 kB / 314.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1423, allocations: 0.5305 MB / 315.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.1425, allocations: 128.9 kB / 315.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.1428, allocations: 77.88 kB / 315.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.143, allocations: 40.48 kB / 315.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.143, allocations: 0 / 315.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of Templates: time 0.05439/0.1974, allocations: 31.97 MB / 347.6 MB, free: 5.836 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.277569883968681]