Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 97.02 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 201.7 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002484, allocations: 8 kB / 308.4 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09824, allocations: 51.53 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2103/0.3086, allocations: 27.68 MB / 387.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.3117, allocations: 2.321 MB / 389.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3119, allocations: 5.156 kB / 389.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.3123, allocations: 59.98 kB / 390 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.3128, allocations: 156.8 kB / 390.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01943/0.3323, allocations: 5.387 MB / 395.5 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.3329, allocations: 498.9 kB / 396 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.333, allocations: 9.594 kB / 396 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.3333, allocations: 136.8 kB / 396.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.3336, allocations: 138 kB / 396.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.3337, allocations: 7.562 kB / 396.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02013/0.3538, allocations: 9.597 MB / 405.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.354, allocations: 62.7 kB / 405.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.3543, allocations: 128.3 kB / 406.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007808/0.3621, allocations: 3.187 MB / 409.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3621, allocations: 0 / 409.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3621, allocations: 0 / 409.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3622, allocations: 0 / 409.3 MB, free: 9.918 MB / 318.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.003581/0.3658, allocations: 1.101 MB / 410.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3658, allocations: 12.03 kB / 410.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.366, allocations: 24.75 kB / 410.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.3663, allocations: 218.7 kB / 410.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3663, allocations: 20.33 kB / 410.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.3664, allocations: 19.91 kB / 410.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.3673, allocations: 285.4 kB / 410.9 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3673, allocations: 4 kB / 410.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.3673, allocations: 8 kB / 410.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.3674, allocations: 8 kB / 410.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.3683, allocations: 311.7 kB / 411.3 MB, free: 7.824 MB / 318.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.001599/0.3699, allocations: 0.8327 MB / 412.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/0.3707, allocations: 252 kB / 412.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.3711, allocations: 138 kB / 412.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/0.3882, allocations: 12.91 MB / 425.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/0.3883, allocations: 42.5 kB / 425.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.106e-06/0.3883, allocations: 0 / 425.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003118/0.3914, allocations: 0.6955 MB / 426.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3915, allocations: 85.11 kB / 426.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3916, allocations: 144 kB / 426.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.3917, allocations: 33.7 kB / 426.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.3918, allocations: 116.8 kB / 426.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.3919, allocations: 122.2 kB / 426.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.3919, allocations: 33.7 kB / 426.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3921, allocations: 342.8 kB / 427 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.3925, allocations: 131.9 kB / 427.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.393, allocations: 211.6 kB / 427.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.394, allocations: 358.6 kB / 427.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.394, allocations: 0 / 427.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001263/0.3953, allocations: 424.4 kB / 428.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3953, allocations: 8.219 kB / 428.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3953, allocations: 7.938 kB / 428.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3953, allocations: 4 kB / 428.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3958, allocations: 95.8 kB / 428.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3959, allocations: 7.938 kB / 428.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.3962, allocations: 23.89 kB / 428.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.3963, allocations: 19.98 kB / 428.2 MB, free: 4.098 MB / 334.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.0001699/0.3964, allocations: 142.9 kB / 428.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.3966, allocations: 23.8 kB / 428.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.3971, allocations: 194.6 kB / 428.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3971, allocations: 4 kB / 428.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3971, allocations: 3.938 kB / 428.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3972, allocations: 3.938 kB / 428.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.399, allocations: 0.7792 MB / 429.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.3991, allocations: 4.156 kB / 429.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.3995, allocations: 83.88 kB / 429.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.3995, allocations: 4 kB / 429.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.3996, allocations: 11.98 kB / 429.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3996, allocations: 4 kB / 429.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3996, allocations: 0 / 429.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.4012, allocations: 0.7248 MB / 430.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.4014, allocations: 124.8 kB / 430.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.4014, allocations: 12 kB / 430.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.4018, allocations: 19.97 kB / 430.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.4019, allocations: 39.97 kB / 430.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.4019, allocations: 8 kB / 430.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.402, allocations: 113.5 kB / 430.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.402, allocations: 0 / 430.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002808/0.4049, allocations: 0.9564 MB / 431.5 MB, free: 0.7188 MB / 334.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.00475/0.4096, allocations: 1.239 MB / 432.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.4108, allocations: 347.7 kB / 433.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.4109, allocations: 4 kB / 433.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.4114, allocations: 183.2 kB / 433.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.4123, allocations: 103.9 kB / 433.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.414, allocations: 0.7764 MB / 434.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4143, allocations: 0.7416 MB / 434.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.4145, allocations: 51.39 kB / 434.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4145, allocations: 3.938 kB / 434.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Templates: time 0.03363/0.4481, allocations: 20.14 MB / 455.1 MB, free: 9.051 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches