Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001821/0.001821, allocations: 86.97 kB / 22 MB, free: 5.199 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.00215/0.00215, allocations: 153.8 kB / 25.24 MB, free: 3.031 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.324/1.324, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.06 kB / 299.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2254, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.357/0.5823, allocations: 131.4 MB / 479.9 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.5831, allocations: 0.5513 MB / 480.4 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.5832, allocations: 4.094 kB / 480.4 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.5835, allocations: 56.62 kB / 480.5 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.5839, allocations: 159.8 kB / 480.6 MB, free: 1.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.5863, allocations: 1.098 MB / 481.7 MB, free: 1.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000339/0.5866, allocations: 329.8 kB / 482.1 MB, free: 1.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.5866, allocations: 5.766 kB / 482.1 MB, free: 1.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.5869, allocations: 157.5 kB / 482.2 MB, free: 1.293 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.5871, allocations: 127.2 kB / 482.3 MB, free: 1.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.5871, allocations: 12.38 kB / 482.4 MB, free: 1.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.5889, allocations: 1.357 MB / 483.7 MB, free: 1.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.589, allocations: 69.81 kB / 483.8 MB, free: 1.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.5891, allocations: 84.66 kB / 483.9 MB, free: 1.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.5903, allocations: 0.9608 MB / 484.8 MB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5903, allocations: 3 kB / 484.8 MB, free: 1.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5903, allocations: 0.8438 kB / 484.8 MB, free: 1.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.5903, allocations: 0 / 484.8 MB, free: 1.227 MB / 430.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.001624/0.592, allocations: 0.6077 MB / 485.4 MB, free: 16.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.592, allocations: 18.48 kB / 485.4 MB, free: 16.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.5921, allocations: 22.12 kB / 485.5 MB, free: 16.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.5923, allocations: 153.3 kB / 485.6 MB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5924, allocations: 12.55 kB / 485.6 MB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.5924, allocations: 20.59 kB / 485.7 MB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.5929, allocations: 365.9 kB / 486 MB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.593, allocations: 7.484 kB / 486 MB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.593, allocations: 3.875 kB / 486 MB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.593, allocations: 8.406 kB / 486 MB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.5936, allocations: 262.1 kB / 486.3 MB, free: 16.52 MB / 446.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.001223/0.5948, allocations: 0.6079 MB / 486.9 MB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.5954, allocations: 212.3 kB / 487.1 MB, free: 16.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.5956, allocations: 128.8 kB / 487.2 MB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.5958, allocations: 51.69 kB / 487.3 MB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5958, allocations: 42.59 kB / 487.3 MB, free: 16.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.502e-06/0.5958, allocations: 1 kB / 487.3 MB, free: 16.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.002358/0.5982, allocations: 0.6741 MB / 488 MB, free: 16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.5983, allocations: 81.89 kB / 488.1 MB, free: 15.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.5983, allocations: 126 kB / 488.2 MB, free: 15.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.5984, allocations: 31.77 kB / 488.2 MB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.5984, allocations: 110.3 kB / 488.3 MB, free: 15.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.5985, allocations: 133.6 kB / 488.5 MB, free: 15.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.5986, allocations: 70.09 kB / 488.5 MB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5987, allocations: 329.4 kB / 488.9 MB, free: 15.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.5991, allocations: 135.1 kB / 489 MB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.5995, allocations: 200.6 kB / 489.2 MB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.6002, allocations: 366.2 kB / 489.5 MB, free: 15.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6002, allocations: 1.203 kB / 489.5 MB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008912/0.6011, allocations: 404.9 kB / 489.9 MB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6011, allocations: 5.188 kB / 489.9 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6011, allocations: 2.188 kB / 489.9 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6011, allocations: 6.75 kB / 490 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.6016, allocations: 89.17 kB / 490 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.6016, allocations: 8.625 kB / 490 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.6019, allocations: 27.89 kB / 490.1 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.602, allocations: 17.69 kB / 490.1 MB, free: 15.03 MB / 446.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.0001362/0.6021, allocations: 144.3 kB / 490.2 MB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.6022, allocations: 16.5 kB / 490.2 MB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.6025, allocations: 178 kB / 490.4 MB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6025, allocations: 8.375 kB / 490.4 MB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6025, allocations: 0 / 490.4 MB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6025, allocations: 3.469 kB / 490.4 MB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.604, allocations: 0.6628 MB / 491.1 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.604, allocations: 6.469 kB / 491.1 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.6045, allocations: 80.91 kB / 491.2 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6045, allocations: 2.688 kB / 491.2 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.6045, allocations: 15.05 kB / 491.2 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6045, allocations: 4.375 kB / 491.2 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6045, allocations: 4.781 kB / 491.2 MB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.6058, allocations: 0.7105 MB / 491.9 MB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.6058, allocations: 40.66 kB / 492 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.6059, allocations: 10.72 kB / 492 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.6063, allocations: 25.09 kB / 492 MB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.6063, allocations: 26.91 kB / 492 MB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.6063, allocations: 15.55 kB / 492 MB, free: 14.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.6064, allocations: 96.42 kB / 492.1 MB, free: 14.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6064, allocations: 0 / 492.1 MB, free: 14.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005159/0.6069, allocations: 144.3 kB / 492.3 MB, free: 14.17 MB / 446.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 (38): * Single equations (assignments): 38 * 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.0003806/0.6073, allocations: 242.6 kB / 492.5 MB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.6081, allocations: 328.1 kB / 492.8 MB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6081, allocations: 3 kB / 492.8 MB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.6084, allocations: 175 kB / 493 MB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.6092, allocations: 101.3 kB / 493.1 MB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6105, allocations: 0.6116 MB / 493.7 MB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.6106, allocations: 132.8 kB / 493.8 MB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.6109, allocations: 77.05 kB / 493.9 MB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.611, allocations: 35.34 kB / 494 MB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.611, allocations: 0 / 494 MB, free: 13.55 MB / 446.1 MB Notification: Performance of Templates: time 0.00964/0.6206, allocations: 6.196 MB / 0.4884 GB, free: 12.86 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 4.799337299074978]