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.001056/0.001056, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001105/0.001105, allocations: 190 kB / 18.07 MB, free: 5.414 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.36/1.36, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001164/0.001164, allocations: 47.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09226, allocations: 46.61 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0316/0.1239, allocations: 28.41 MB / 355 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.1266, allocations: 2.341 MB / 357.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.1267, allocations: 0 / 357.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1271, allocations: 63.7 kB / 357.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1274, allocations: 139.3 kB / 357.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.1399, allocations: 5.034 MB / 362.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.1404, allocations: 474.4 kB / 363 MB, free: 336 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.1405, allocations: 12.91 kB / 363.1 MB, free: 320 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1407, allocations: 119.5 kB / 363.2 MB, free: 200 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1409, allocations: 123.6 kB / 363.3 MB, free: 76 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.1409, allocations: 8 kB / 363.3 MB, free: 68 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.1563, allocations: 9.479 MB / 372.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1565, allocations: 75.7 kB / 372.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1566, allocations: 87.66 kB / 372.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008895/0.1655, allocations: 4.764 MB / 377.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1655, allocations: 0 / 377.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1656, allocations: 0 / 377.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1656, allocations: 0 / 377.7 MB, free: 1.641 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.003249/0.1688, allocations: 1.1 MB / 378.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1689, allocations: 8.031 kB / 378.8 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1691, allocations: 28.48 kB / 378.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1693, allocations: 214.8 kB / 379 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1693, allocations: 16.31 kB / 379.1 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1694, allocations: 20 kB / 379.1 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1471/0.3165, allocations: 284.2 kB / 379.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3165, allocations: 2.891 kB / 379.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.3166, allocations: 7.125 kB / 379.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.3166, allocations: 6.625 kB / 379.4 MB, free: 53.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.3174, allocations: 317.2 kB / 379.7 MB, free: 53.13 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.001358/0.3188, allocations: 0.8158 MB / 380.5 MB, free: 52.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.3195, allocations: 246.2 kB / 380.7 MB, free: 52.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3198, allocations: 131.7 kB / 380.9 MB, free: 52.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01369/0.3335, allocations: 12.85 MB / 393.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3336, allocations: 45.23 kB / 393.8 MB, free: 39.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.324e-06/0.3336, allocations: 0 / 393.8 MB, free: 39.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002895/0.3365, allocations: 0.6931 MB / 394.5 MB, free: 39.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.3366, allocations: 82.14 kB / 394.5 MB, free: 39.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.3367, allocations: 125.6 kB / 394.7 MB, free: 39.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.3367, allocations: 32.08 kB / 394.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.3367, allocations: 108.9 kB / 394.8 MB, free: 39.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.3368, allocations: 129.1 kB / 394.9 MB, free: 39.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.3369, allocations: 73.39 kB / 395 MB, free: 39.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.337, allocations: 333.7 kB / 395.3 MB, free: 38.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.3374, allocations: 131 kB / 395.5 MB, free: 38.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.3379, allocations: 210.5 kB / 395.7 MB, free: 38.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008846/0.3387, allocations: 359.8 kB / 396 MB, free: 38.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3388, allocations: 1.125 kB / 396 MB, free: 38.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001095/0.3399, allocations: 424.2 kB / 396.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3399, allocations: 5.969 kB / 396.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3399, allocations: 2.094 kB / 396.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3399, allocations: 3.594 kB / 396.4 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.3404, allocations: 90.89 kB / 396.5 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3404, allocations: 8.906 kB / 396.5 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3407, allocations: 27.7 kB / 396.6 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.3408, allocations: 19.59 kB / 396.6 MB, free: 38.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3409, allocations: 151 kB / 396.7 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3411, allocations: 20.97 kB / 396.7 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.3415, allocations: 188.6 kB / 396.9 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3415, allocations: 4.875 kB / 396.9 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3416, allocations: 0 / 396.9 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3416, allocations: 3.156 kB / 396.9 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.3432, allocations: 0.7663 MB / 397.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3432, allocations: 1.469 kB / 397.7 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3436, allocations: 82.91 kB / 397.8 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3436, allocations: 3.5 kB / 397.8 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3437, allocations: 15.09 kB / 397.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.3437, allocations: 5.609 kB / 397.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3437, allocations: 1.562 kB / 397.8 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3451, allocations: 0.7107 MB / 398.5 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/0.3452, allocations: 126 kB / 398.6 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.3453, allocations: 7.969 kB / 398.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.3456, allocations: 21.81 kB / 398.7 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3457, allocations: 30.94 kB / 398.7 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.3457, allocations: 19.62 kB / 398.7 MB, free: 36.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.3458, allocations: 100.8 kB / 398.8 MB, free: 36.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3458, allocations: 0 / 398.8 MB, free: 36.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002534/0.3483, allocations: 0.9237 MB / 399.7 MB, free: 36.7 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 (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.003628/0.352, allocations: 1.266 MB / 401 MB, free: 36.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009495/0.3529, allocations: 354.1 kB / 401.4 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3529, allocations: 0 / 401.4 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.3534, allocations: 177.5 kB / 401.5 MB, free: 36.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.3541, allocations: 99.59 kB / 401.6 MB, free: 36.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3554, allocations: 0.6724 MB / 402.3 MB, free: 35.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.3556, allocations: 0.7303 MB / 403 MB, free: 35.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.356, allocations: 89.45 kB / 403.1 MB, free: 35.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.3562, allocations: 38.3 kB / 403.2 MB, free: 35.13 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3562, allocations: 0 / 403.2 MB, free: 35.13 MB / 318.1 MB Notification: Performance of Templates: time 0.02998/0.3862, allocations: 30.69 MB / 433.8 MB, free: 8.48 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