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.0007862/0.0007862, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003676/0.003676, allocations: 145.1 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8142/0.8142, allocations: 173.4 MB / 201.2 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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.272e-06/1.272e-06, allocations: 0 / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.776e-05, allocations: 2.281 kB / 319.7 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02087/0.02089, allocations: 23.82 MB / 343.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.02333, allocations: 1.998 MB / 345.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.02342, allocations: 4 kB / 345.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.02395, allocations: 59.61 kB / 345.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.02435, allocations: 162.9 kB / 345.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.03786, allocations: 6.537 MB / 352.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.03833, allocations: 330.7 kB / 352.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.03837, allocations: 5.312 kB / 352.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.03856, allocations: 171.6 kB / 352.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.03872, allocations: 107.7 kB / 352.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.03874, allocations: 12 kB / 352.9 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.0489, allocations: 8.986 MB / 361.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.04899, allocations: 75.78 kB / 361.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.04908, allocations: 71.83 kB / 362 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.05623, allocations: 5.866 MB / 367.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.05623, allocations: 0 / 367.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05624, allocations: 0 / 367.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.05624, allocations: 0 / 367.9 MB, free: 5.555 MB / 330.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.001892/0.05813, allocations: 1.067 MB / 368.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.05817, allocations: 12.92 kB / 368.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.05828, allocations: 24.59 kB / 369 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.05848, allocations: 160.9 kB / 369.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.05849, allocations: 16.27 kB / 369.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.05852, allocations: 16 kB / 369.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.05901, allocations: 392.2 kB / 369.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.05902, allocations: 0 / 369.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.05904, allocations: 11.98 kB / 369.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.05906, allocations: 7.938 kB / 369.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.05949, allocations: 307.7 kB / 369.9 MB, free: 3.461 MB / 330.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.0008614/0.06035, allocations: 0.6519 MB / 370.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.06075, allocations: 237.1 kB / 370.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.06091, allocations: 137.5 kB / 370.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004871/0.06579, allocations: 2.706 MB / 373.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.06581, allocations: 34.56 kB / 373.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/0.06581, allocations: 3.984 kB / 373.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001605/0.06742, allocations: 0.7022 MB / 374.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.06746, allocations: 81.11 kB / 374.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.06753, allocations: 137.7 kB / 374.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.06756, allocations: 29.7 kB / 374.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.06761, allocations: 108.9 kB / 374.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.06767, allocations: 134.8 kB / 374.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.06775, allocations: 73.67 kB / 374.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.06782, allocations: 322.8 kB / 375.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.06802, allocations: 143.8 kB / 375.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.06827, allocations: 207.6 kB / 375.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004868/0.06876, allocations: 362 kB / 375.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.06876, allocations: 0 / 375.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006055/0.06937, allocations: 420.3 kB / 376.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.06938, allocations: 8 kB / 376.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.06939, allocations: 3.938 kB / 376.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.0694, allocations: 4 kB / 376.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.06961, allocations: 96.08 kB / 376.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.06962, allocations: 4 kB / 376.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.06974, allocations: 31.88 kB / 376.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.06977, allocations: 19.92 kB / 376.5 MB, free: 12.67 MB / 346.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 9.578e-05/0.06986, allocations: 141.7 kB / 376.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.06993, allocations: 23.89 kB / 376.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.07022, allocations: 178.5 kB / 376.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.07022, allocations: 4 kB / 376.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.07023, allocations: 3.984 kB / 376.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.07023, allocations: 0 / 376.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008562/0.07109, allocations: 0.6619 MB / 377.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.07109, allocations: 160 / 377.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.07127, allocations: 87.88 kB / 377.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.07128, allocations: 3.938 kB / 377.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.0713, allocations: 12 kB / 377.6 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.0713, allocations: 7.984 kB / 377.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0713, allocations: 0 / 377.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.07212, allocations: 0.6999 MB / 378.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.07218, allocations: 47.73 kB / 378.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.07221, allocations: 8 kB / 378.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.07237, allocations: 24.05 kB / 378.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.07239, allocations: 27.95 kB / 378.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.07242, allocations: 15.98 kB / 378.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.07245, allocations: 99.2 kB / 378.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07245, allocations: 0 / 378.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001481/0.07393, allocations: 0.951 MB / 379.4 MB, free: 9.578 MB / 346.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.002445/0.07638, allocations: 1.399 MB / 380.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.07691, allocations: 328.3 kB / 381.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.07691, allocations: 7.938 kB / 381.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.0773, allocations: 163.8 kB / 381.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.07771, allocations: 95.67 kB / 381.4 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.07853, allocations: 0.567 MB / 382 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.649e-05/0.07862, allocations: 128.9 kB / 382.1 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.07873, allocations: 44.41 kB / 382.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.07873, allocations: 4 kB / 382.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of Templates: time 0.0185/0.09724, allocations: 20.01 MB / 402.2 MB, free: 2.754 MB / 362.7 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.075697028078139]