Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006208/0.0006208, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007223/0.0007222, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.11/1.11, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1581/0.1581, allocations: 46.2 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002017/0.0002018, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08631, allocations: 63.57 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2807/0.3671, allocations: 149.8 MB / 0.6181 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3688, allocations: 1.531 MB / 0.6196 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.3689, allocations: 4 kB / 0.6196 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3692, allocations: 47.05 kB / 0.6196 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.3712, allocations: 0.8898 MB / 0.6205 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.3713, allocations: 1.969 kB / 0.6205 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3714, allocations: 147.5 kB / 0.6206 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.3715, allocations: 4 kB / 0.6206 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.3715, allocations: 23.91 kB / 0.6207 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.3716, allocations: 39.84 kB / 0.6207 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.3716, allocations: 0 / 0.6207 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.3742, allocations: 1.957 MB / 0.6226 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.3743, allocations: 11.98 kB / 0.6226 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3743, allocations: 41.58 kB / 0.6227 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.3756, allocations: 0.9784 MB / 0.6236 GB, free: 9.035 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3756, allocations: 3.984 kB / 0.6236 GB, free: 9.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3756, allocations: 0 / 0.6236 GB, free: 9.031 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3756, allocations: 4 kB / 0.6236 GB, free: 9.027 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006247/0.3762, allocations: 495.1 kB / 0.6241 GB, free: 8.496 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.3763, allocations: 12.88 kB / 0.6241 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.3763, allocations: 4.938 kB / 0.6241 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.3764, allocations: 167.9 kB / 0.6243 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3764, allocations: 0 / 0.6243 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.3764, allocations: 7.984 kB / 0.6243 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3766, allocations: 89.59 kB / 0.6244 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.3766, allocations: 0 / 0.6244 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3766, allocations: 0 / 0.6244 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.3766, allocations: 15.97 kB / 0.6244 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.3767, allocations: 67.91 kB / 0.6244 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.3771, allocations: 309.1 kB / 0.6247 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.3772, allocations: 42.67 kB / 0.6248 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.3772, allocations: 24.72 kB / 0.6248 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.3774, allocations: 255.4 kB / 0.625 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.3775, allocations: 38.5 kB / 0.6251 GB, free: 7.316 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3775, allocations: 0 / 0.6251 GB, free: 7.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001677/0.3777, allocations: 81.59 kB / 0.6252 GB, free: 7.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3777, allocations: 51.41 kB / 0.6252 GB, free: 7.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.3778, allocations: 105.8 kB / 0.6253 GB, free: 7.055 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3778, allocations: 25.7 kB / 0.6253 GB, free: 7.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.3778, allocations: 91.95 kB / 0.6254 GB, free: 6.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.3779, allocations: 19.73 kB / 0.6254 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.3779, allocations: 13.72 kB / 0.6254 GB, free: 6.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.378, allocations: 318.8 kB / 0.6258 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.378, allocations: 15.92 kB / 0.6258 GB, free: 6.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.378, allocations: 35.42 kB / 0.6258 GB, free: 6.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.3781, allocations: 59.38 kB / 0.6259 GB, free: 6.438 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3781, allocations: 0 / 0.6259 GB, free: 6.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001071/0.3782, allocations: 81.52 kB / 0.6259 GB, free: 6.352 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3783, allocations: 7.938 kB / 0.6259 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3783, allocations: 4 kB / 0.6259 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.3783, allocations: 0 / 0.6259 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.3783, allocations: 15.98 kB / 0.626 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3784, allocations: 0 / 0.626 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.3784, allocations: 8 kB / 0.626 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3784, allocations: 8.094 kB / 0.626 GB, free: 6.309 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 6.924e-05/0.3785, allocations: 117.8 kB / 0.6261 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3785, allocations: 3.938 kB / 0.6261 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.3787, allocations: 81.8 kB / 0.6262 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3787, allocations: 0 / 0.6262 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3787, allocations: 0 / 0.6262 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3787, allocations: 4 kB / 0.6262 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3789, allocations: 175 kB / 0.6263 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3789, allocations: 0 / 0.6263 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.3789, allocations: 11.94 kB / 0.6264 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3789, allocations: 3.938 kB / 0.6264 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3789, allocations: 0 / 0.6264 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3789, allocations: 11.91 kB / 0.6264 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3789, allocations: 0 / 0.6264 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.379, allocations: 160.3 kB / 0.6265 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.3791, allocations: 81.02 kB / 0.6266 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3791, allocations: 3.938 kB / 0.6266 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.3792, allocations: 0 / 0.6266 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.3792, allocations: 7.984 kB / 0.6266 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.3792, allocations: 4.5 kB / 0.6266 GB, free: 5.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.3792, allocations: 84.03 kB / 0.6267 GB, free: 5.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3792, allocations: 0 / 0.6267 GB, free: 5.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.3797, allocations: 151.8 kB / 0.6268 GB, free: 5.332 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.000689/0.3804, allocations: 340.1 kB / 0.6272 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.305e-05/0.3805, allocations: 31.98 kB / 0.6272 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3805, allocations: 0 / 0.6272 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.3805, allocations: 23.92 kB / 0.6272 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3808, allocations: 16.06 kB / 0.6272 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.3811, allocations: 195.7 kB / 0.6274 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.3813, allocations: 0.6848 MB / 0.6281 GB, free: 4.004 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.778e-05/0.3814, allocations: 19.92 kB / 0.6281 GB, free: 3.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.3814, allocations: 15.44 kB / 0.6281 GB, free: 3.969 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3814, allocations: 0 / 0.6281 GB, free: 3.969 MB / 462.1 MB Notification: Performance of Templates: time 0.006002/0.3874, allocations: 3.634 MB / 0.6317 GB, free: 344 kB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches