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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_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.001425/0.001425, allocations: 110.8 kB / 17.29 MB, free: 6.203 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.001496/0.001496, allocations: 197.3 kB / 18.21 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 50.14 kB / 300.8 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.0993, allocations: 49.45 MB / 350.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1956/0.295, allocations: 26.58 MB / 376.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2974, allocations: 2.237 MB / 379 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.2975, allocations: 1.75 kB / 379 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.2979, allocations: 61.25 kB / 379.1 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.2983, allocations: 141.4 kB / 379.2 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/0.3134, allocations: 5.872 MB / 385.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.314, allocations: 312.4 kB / 385.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.314, allocations: 9.656 kB / 385.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.3142, allocations: 139.5 kB / 385.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.3145, allocations: 126.8 kB / 385.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3145, allocations: 15.53 kB / 385.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01651/0.331, allocations: 9.447 MB / 395.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3312, allocations: 64.83 kB / 395.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.3314, allocations: 93.64 kB / 395.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006353/0.3377, allocations: 3.194 MB / 398.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3378, allocations: 0 / 398.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3378, allocations: 1.719 kB / 398.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.3378, allocations: 0 / 398.5 MB, free: 3.168 MB / 302.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.003389/0.3412, allocations: 1.115 MB / 399.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.3412, allocations: 9.844 kB / 399.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3414, allocations: 23.97 kB / 399.7 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.3416, allocations: 220.2 kB / 399.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3416, allocations: 17.17 kB / 399.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.3417, allocations: 14.28 kB / 399.9 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.3423, allocations: 289.3 kB / 400.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3423, allocations: 3.938 kB / 400.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3424, allocations: 6.5 kB / 400.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.3424, allocations: 5.219 kB / 400.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.343, allocations: 314.2 kB / 400.5 MB, free: 1.746 MB / 302.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.001145/0.3442, allocations: 0.8234 MB / 401.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.3448, allocations: 252.5 kB / 401.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.3451, allocations: 133.6 kB / 401.7 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/0.36, allocations: 12.85 MB / 414.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3601, allocations: 34.5 kB / 414.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.3601, allocations: 0 / 414.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002825/0.363, allocations: 0.6943 MB / 415.3 MB, free: 384 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.363, allocations: 85.05 kB / 415.4 MB, free: 280 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3631, allocations: 121.8 kB / 415.5 MB, free: 148 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.3632, allocations: 37.64 kB / 415.5 MB, free: 104 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.3633, allocations: 113 kB / 415.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.3634, allocations: 126 kB / 415.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3635, allocations: 69.69 kB / 415.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3636, allocations: 326.8 kB / 416.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.364, allocations: 139.8 kB / 416.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.3644, allocations: 207.5 kB / 416.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.3653, allocations: 366.5 kB / 416.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3653, allocations: 0 / 416.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001076/0.3664, allocations: 414.5 kB / 417.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3664, allocations: 4 kB / 417.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3664, allocations: 4 kB / 417.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3665, allocations: 4 kB / 417.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.3669, allocations: 87.88 kB / 417.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.367, allocations: 10.44 kB / 417.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.3673, allocations: 43.84 kB / 417.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.3673, allocations: 20 kB / 417.4 MB, free: 14.13 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.0001342/0.3675, allocations: 141.8 kB / 417.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3676, allocations: 15.81 kB / 417.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.3681, allocations: 186.3 kB / 417.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3681, allocations: 6.062 kB / 417.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3681, allocations: 7.938 kB / 417.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3681, allocations: 3.938 kB / 417.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.3698, allocations: 0.7705 MB / 418.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3698, allocations: 0 / 418.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.3702, allocations: 79.88 kB / 418.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3702, allocations: 4 kB / 418.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3702, allocations: 15.98 kB / 418.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3703, allocations: 0 / 418.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3703, allocations: 7.938 kB / 418.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.3717, allocations: 0.7053 MB / 419.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3718, allocations: 116.9 kB / 419.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.3719, allocations: 8 kB / 419.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.3722, allocations: 31.97 kB / 419.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3723, allocations: 31.84 kB / 419.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.3723, allocations: 16 kB / 419.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.3724, allocations: 99.64 kB / 419.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3724, allocations: 0 / 419.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002942/0.3753, allocations: 0.9331 MB / 420.6 MB, free: 10.84 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.004079/0.3794, allocations: 1.244 MB / 421.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3805, allocations: 364.1 kB / 422.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3805, allocations: 3.938 kB / 422.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.381, allocations: 184.5 kB / 422.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.3817, allocations: 93.39 kB / 422.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3831, allocations: 0.7075 MB / 423.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3834, allocations: 0.7332 MB / 423.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.3835, allocations: 51.39 kB / 423.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3835, allocations: 0 / 423.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of Templates: time 0.02943/0.413, allocations: 19.74 MB / 443.7 MB, free: 3.734 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches