Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 95.88 kB / 16.95 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 182.5 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004372, allocations: 8 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08416/0.08461, allocations: 47.57 MB / 328.3 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02897/0.1136, allocations: 24.67 MB / 353 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.1166, allocations: 2.066 MB / 355.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1167, allocations: 3.938 kB / 355.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.117, allocations: 55.72 kB / 355.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1174, allocations: 131.3 kB / 355.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.1304, allocations: 4.56 MB / 359.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1309, allocations: 390.4 kB / 360.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.131, allocations: 12.91 kB / 360.2 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1312, allocations: 123.6 kB / 360.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1315, allocations: 123.6 kB / 360.5 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.1315, allocations: 8 kB / 360.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/0.1466, allocations: 8.216 MB / 368.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1468, allocations: 67.83 kB / 368.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.1469, allocations: 61.58 kB / 368.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005882/0.1528, allocations: 2.998 MB / 371.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1528, allocations: 0 / 371.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1528, allocations: 0 / 371.8 MB, free: 8.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1528, allocations: 0 / 371.8 MB, free: 8.492 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.003073/0.1559, allocations: 1.072 MB / 372.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1559, allocations: 8.031 kB / 372.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1561, allocations: 31.7 kB / 372.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1563, allocations: 210.9 kB / 373.1 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1563, allocations: 12.33 kB / 373.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.1564, allocations: 12 kB / 373.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.157, allocations: 285.4 kB / 373.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1571, allocations: 7.891 kB / 373.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.1571, allocations: 8 kB / 373.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1571, allocations: 8 kB / 373.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.1578, allocations: 315.6 kB / 373.8 MB, free: 6.438 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.00137/0.1592, allocations: 0.8205 MB / 374.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.1599, allocations: 249.2 kB / 374.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1602, allocations: 137.6 kB / 375 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1661/0.3263, allocations: 12.9 MB / 387.9 MB, free: 43.12 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3264, allocations: 37.06 kB / 387.9 MB, free: 43.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.3264, allocations: 0.5312 kB / 387.9 MB, free: 43.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002796/0.3292, allocations: 0.6852 MB / 388.6 MB, free: 43.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.3292, allocations: 85.41 kB / 388.7 MB, free: 42.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.3293, allocations: 132.4 kB / 388.8 MB, free: 42.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3294, allocations: 31.48 kB / 388.8 MB, free: 42.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.3294, allocations: 107.1 kB / 388.9 MB, free: 42.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.3295, allocations: 128.7 kB / 389.1 MB, free: 42.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.3296, allocations: 4.875 kB / 389.1 MB, free: 42.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.3296, allocations: 328 kB / 389.4 MB, free: 42.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.33, allocations: 139.2 kB / 389.5 MB, free: 42.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.3304, allocations: 211.6 kB / 389.7 MB, free: 42.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.3308, allocations: 155.4 kB / 389.9 MB, free: 42.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3308, allocations: 1.438 kB / 389.9 MB, free: 42.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001121/0.332, allocations: 407.9 kB / 390.3 MB, free: 42.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.332, allocations: 7.938 kB / 390.3 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.332, allocations: 4.156 kB / 390.3 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.332, allocations: 2.969 kB / 390.3 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.3325, allocations: 90.41 kB / 390.4 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3325, allocations: 15.2 kB / 390.4 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.3328, allocations: 27.25 kB / 390.4 MB, free: 42.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.3329, allocations: 19.7 kB / 390.4 MB, free: 42.19 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.333, allocations: 145.7 kB / 390.6 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3331, allocations: 22.91 kB / 390.6 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.3336, allocations: 183.7 kB / 390.8 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3336, allocations: 4.031 kB / 390.8 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3337, allocations: 0 / 390.8 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3337, allocations: 7.5 kB / 390.8 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3354, allocations: 0.7656 MB / 391.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.3354, allocations: 1.672 kB / 391.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.3359, allocations: 79.8 kB / 391.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.3359, allocations: 4.984 kB / 391.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.3359, allocations: 10.14 kB / 391.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.3359, allocations: 7.094 kB / 391.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3359, allocations: 6.062 kB / 391.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3374, allocations: 0.7012 MB / 392.4 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3375, allocations: 127.6 kB / 392.5 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.3376, allocations: 11.86 kB / 392.5 MB, free: 41.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.3379, allocations: 23.5 kB / 392.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.338, allocations: 28.72 kB / 392.6 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.338, allocations: 17.2 kB / 392.6 MB, free: 41.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.3381, allocations: 100.1 kB / 392.7 MB, free: 41.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3381, allocations: 0 / 392.7 MB, free: 41.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002954/0.3411, allocations: 0.9199 MB / 393.6 MB, free: 41.01 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004702/0.3458, allocations: 1.193 MB / 394.8 MB, free: 40.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3469, allocations: 347 kB / 395.1 MB, free: 40.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3469, allocations: 7.938 kB / 395.1 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.3473, allocations: 172.9 kB / 395.3 MB, free: 40.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/0.3481, allocations: 95.45 kB / 395.4 MB, free: 40.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3494, allocations: 0.7203 MB / 396.1 MB, free: 40.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3496, allocations: 0.7314 MB / 396.8 MB, free: 39.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.3501, allocations: 87.95 kB / 396.9 MB, free: 39.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3502, allocations: 40.05 kB / 397 MB, free: 39.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3502, allocations: 0 / 397 MB, free: 39.45 MB / 318.1 MB Notification: Performance of Templates: time 0.03237/0.3826, allocations: 30.96 MB / 427.9 MB, free: 13.98 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches