Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001747/0.001747, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002161/0.002161, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.86 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.278, allocations: 53.37 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0347/0.3127, allocations: 24.02 MB / 456.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.3158, allocations: 2.017 MB / 458.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.3159, allocations: 0 / 458.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.3163, allocations: 55.66 kB / 458.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.3168, allocations: 163 kB / 458.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.3338, allocations: 6.512 MB / 465.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.3344, allocations: 342.6 kB / 465.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.3345, allocations: 9.734 kB / 465.4 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.3347, allocations: 147.5 kB / 465.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.335, allocations: 135.5 kB / 465.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.335, allocations: 16 kB / 465.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0181/0.3531, allocations: 9.296 MB / 475 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3533, allocations: 71.84 kB / 475.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.3535, allocations: 95.64 kB / 475.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.3664, allocations: 4.677 MB / 479.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3664, allocations: 0 / 479.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3664, allocations: 0 / 479.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3664, allocations: 0 / 479.9 MB, free: 7.031 MB / 382.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.00389/0.3703, allocations: 1.104 MB / 481 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.3704, allocations: 8.031 kB / 481 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.3706, allocations: 28.2 kB / 481 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3709, allocations: 164.9 kB / 481.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3709, allocations: 20.27 kB / 481.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.371, allocations: 19.95 kB / 481.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.3718, allocations: 396.2 kB / 481.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3718, allocations: 0 / 481.6 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.3719, allocations: 11.98 kB / 481.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.3719, allocations: 7.938 kB / 481.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/0.3727, allocations: 315.7 kB / 481.9 MB, free: 4.879 MB / 382.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.001553/0.3743, allocations: 0.6438 MB / 482.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.375, allocations: 245.1 kB / 482.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.3754, allocations: 129.6 kB / 482.9 MB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.3878, allocations: 2.682 MB / 485.6 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.3878, allocations: 38.5 kB / 485.7 MB, free: 1.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.365e-06/0.3878, allocations: 0 / 485.7 MB, free: 1.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00304/0.3909, allocations: 0.7021 MB / 486.4 MB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.3909, allocations: 89.11 kB / 486.4 MB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3911, allocations: 145.8 kB / 486.6 MB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.3911, allocations: 33.7 kB / 486.6 MB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.3912, allocations: 108.9 kB / 486.7 MB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3914, allocations: 142.8 kB / 486.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3915, allocations: 73.59 kB / 486.9 MB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3916, allocations: 330.8 kB / 487.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.392, allocations: 135.9 kB / 487.4 MB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.3925, allocations: 211.6 kB / 487.6 MB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/0.3935, allocations: 363.5 kB / 488 MB, free: 14.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3935, allocations: 0 / 488 MB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001215/0.3947, allocations: 422.7 kB / 488.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3947, allocations: 8 kB / 488.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3948, allocations: 3.938 kB / 488.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3948, allocations: 4 kB / 488.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.3953, allocations: 96.09 kB / 488.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3953, allocations: 11.88 kB / 488.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.3956, allocations: 27.92 kB / 488.5 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.3957, allocations: 16 kB / 488.5 MB, free: 14.08 MB / 398.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.0001799/0.3959, allocations: 145.7 kB / 488.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.396, allocations: 19.91 kB / 488.7 MB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.3965, allocations: 190.7 kB / 488.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.3965, allocations: 7.938 kB / 488.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3966, allocations: 0 / 488.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3966, allocations: 3.984 kB / 488.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.3984, allocations: 0.6836 MB / 489.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3984, allocations: 3.984 kB / 489.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.3988, allocations: 80.05 kB / 489.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3989, allocations: 4 kB / 489.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3989, allocations: 11.98 kB / 489.7 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.3989, allocations: 11.92 kB / 489.7 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3989, allocations: 4 kB / 489.7 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4005, allocations: 0.7152 MB / 490.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.4007, allocations: 55.78 kB / 490.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.4007, allocations: 8 kB / 490.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.4011, allocations: 23.97 kB / 490.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4011, allocations: 31.95 kB / 490.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/0.4012, allocations: 12 kB / 490.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.208e-05/0.4013, allocations: 110 kB / 490.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4013, allocations: 4 kB / 490.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002913/0.4042, allocations: 0.9628 MB / 491.6 MB, free: 10.9 MB / 398.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.004559/0.4087, allocations: 1.254 MB / 492.9 MB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.4099, allocations: 324 kB / 493.2 MB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4099, allocations: 4 kB / 493.2 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005042/0.4104, allocations: 175.6 kB / 493.3 MB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.4112, allocations: 104.1 kB / 493.4 MB, free: 9.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.4128, allocations: 0.6525 MB / 494.1 MB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.413, allocations: 133.8 kB / 494.2 MB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.4132, allocations: 43.42 kB / 494.3 MB, free: 8.145 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4132, allocations: 0 / 494.3 MB, free: 8.145 MB / 398.1 MB Notification: Performance of Templates: time 0.0333/0.4465, allocations: 20.3 MB / 0.5025 GB, free: 3.832 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.364457682997454]