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.00185/0.00185, allocations: 117 kB / 18.41 MB, free: 4.664 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.002157/0.002157, allocations: 190.9 kB / 21.34 MB, free: 1.734 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.478/1.478, allocations: 222.9 MB / 247.1 MB, free: 4.219 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 0.001566/0.001567, allocations: 51.91 kB / 358.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09725, allocations: 49.44 MB / 408.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2394/0.3367, allocations: 26.43 MB / 434.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3395, allocations: 2.226 MB / 436.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.3396, allocations: 2.562 kB / 436.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.34, allocations: 63.14 kB / 436.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.3404, allocations: 160.5 kB / 437 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.3572, allocations: 6.502 MB / 443.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.3578, allocations: 318.6 kB / 443.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.3579, allocations: 12.16 kB / 443.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.3582, allocations: 129.9 kB / 443.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3584, allocations: 120 kB / 444 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.3585, allocations: 11.03 kB / 444 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01872/0.3772, allocations: 9.5 MB / 453.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.3774, allocations: 73.59 kB / 453.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3776, allocations: 98.08 kB / 453.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.3897, allocations: 4.712 MB / 458.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3898, allocations: 4 kB / 458.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3898, allocations: 0 / 458.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3898, allocations: 0 / 458.4 MB, free: 0.7109 MB / 350.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.004145/0.3939, allocations: 1.157 MB / 459.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.394, allocations: 10.28 kB / 459.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3942, allocations: 22.09 kB / 459.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3945, allocations: 219.9 kB / 459.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3945, allocations: 9.797 kB / 459.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.3945, allocations: 18.44 kB / 459.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.3952, allocations: 291.5 kB / 460.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3952, allocations: 0 / 460.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.3953, allocations: 6.438 kB / 460.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.3953, allocations: 9.672 kB / 460.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007659/0.3961, allocations: 308.4 kB / 460.5 MB, free: 15.45 MB / 366.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.001452/0.3975, allocations: 0.8271 MB / 461.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.3983, allocations: 250.7 kB / 461.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.3986, allocations: 133 kB / 461.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0163/0.4149, allocations: 12.85 MB / 474.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.415, allocations: 36.28 kB / 474.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.635e-06/0.415, allocations: 0 / 474.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002796/0.4178, allocations: 0.6983 MB / 475.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.4179, allocations: 79.95 kB / 475.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.418, allocations: 131.8 kB / 475.5 MB, free: 464 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.418, allocations: 32.14 kB / 475.5 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.4181, allocations: 105.8 kB / 475.6 MB, free: 320 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4182, allocations: 133.4 kB / 475.7 MB, free: 204 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4184, allocations: 70.39 kB / 475.8 MB, free: 152 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4185, allocations: 332.6 kB / 476.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.4189, allocations: 129.9 kB / 476.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.4194, allocations: 220.5 kB / 476.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.4204, allocations: 363.4 kB / 476.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4204, allocations: 0 / 476.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001151/0.4215, allocations: 419 kB / 477.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4216, allocations: 6.75 kB / 477.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4216, allocations: 2.156 kB / 477.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4216, allocations: 9.562 kB / 477.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.4221, allocations: 88.19 kB / 477.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4221, allocations: 2.562 kB / 477.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.4224, allocations: 37.16 kB / 477.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.4224, allocations: 19.52 kB / 477.4 MB, free: 15.1 MB / 382.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.0001589/0.4226, allocations: 140.8 kB / 477.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4228, allocations: 20.19 kB / 477.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.4232, allocations: 190.1 kB / 477.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4233, allocations: 9.344 kB / 477.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4233, allocations: 3.938 kB / 477.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4233, allocations: 3.984 kB / 477.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.425, allocations: 0.7739 MB / 478.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.425, allocations: 160 / 478.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.4254, allocations: 83.88 kB / 478.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4255, allocations: 4 kB / 478.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.4255, allocations: 12 kB / 478.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4255, allocations: 0 / 478.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4255, allocations: 5.25 kB / 478.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.4271, allocations: 0.7076 MB / 479.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.4273, allocations: 117 kB / 479.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.4273, allocations: 8 kB / 479.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4277, allocations: 23.97 kB / 479.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.4278, allocations: 32.72 kB / 479.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.4278, allocations: 19.98 kB / 479.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.4279, allocations: 95.27 kB / 479.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4279, allocations: 3.938 kB / 479.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003341/0.4312, allocations: 0.9433 MB / 480.6 MB, free: 12.03 MB / 382.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.004989/0.4362, allocations: 1.258 MB / 481.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.4375, allocations: 357 kB / 482.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4375, allocations: 0 / 482.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.438, allocations: 175.7 kB / 482.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/0.4387, allocations: 104.2 kB / 482.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4402, allocations: 0.6294 MB / 483.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4406, allocations: 0.7293 MB / 483.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4408, allocations: 50.17 kB / 483.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4408, allocations: 0 / 483.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of Templates: time 0.03031/0.4711, allocations: 19.74 MB / 0.4918 GB, free: 5.023 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.985563311958686]