Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 200 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.6 MB / 243.1 MB, free: 12.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007381/0.0007381, allocations: 98.09 kB / 295.1 MB, free: 4.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 44.84 MB / 392 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002164/0.0002164, allocations: 4 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08069, allocations: 62.96 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3183/0.399, allocations: 137 MB / 0.6491 GB, free: 12.39 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.4006, allocations: 1.236 MB / 0.6503 GB, free: 11.16 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.4006, allocations: 0 / 0.6503 GB, free: 11.16 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.4008, allocations: 19.84 kB / 0.6503 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.4028, allocations: 0.7607 MB / 0.6511 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.4028, allocations: 0 / 0.6511 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.4029, allocations: 91.66 kB / 0.6512 GB, free: 10.31 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.403, allocations: 0 / 0.6512 GB, free: 10.31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.403, allocations: 15.94 kB / 0.6512 GB, free: 10.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.4031, allocations: 23.91 kB / 0.6512 GB, free: 10.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.4031, allocations: 0 / 0.6512 GB, free: 10.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.4054, allocations: 1.58 MB / 0.6527 GB, free: 8.688 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.4054, allocations: 11.98 kB / 0.6528 GB, free: 8.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.4055, allocations: 33.64 kB / 0.6528 GB, free: 8.637 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007257/0.4062, allocations: 0.5824 MB / 0.6534 GB, free: 8.055 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4062, allocations: 0 / 0.6534 GB, free: 8.055 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4062, allocations: 0 / 0.6534 GB, free: 8.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.4062, allocations: 3.938 kB / 0.6534 GB, free: 8.051 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006407/0.4069, allocations: 487.1 kB / 0.6538 GB, free: 7.527 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4069, allocations: 12.02 kB / 0.6538 GB, free: 7.516 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.4069, allocations: 8.688 kB / 0.6538 GB, free: 7.508 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.407, allocations: 171 kB / 0.654 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4071, allocations: 7.938 kB / 0.654 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4071, allocations: 4 kB / 0.654 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4072, allocations: 69.67 kB / 0.6541 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4072, allocations: 0 / 0.6541 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.4072, allocations: 0 / 0.6541 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4073, allocations: 11.94 kB / 0.6541 GB, free: 7.207 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.4074, allocations: 55.91 kB / 0.6541 GB, free: 7.152 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.4077, allocations: 304.7 kB / 0.6544 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.774e-05/0.4078, allocations: 30.58 kB / 0.6545 GB, free: 6.766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.4078, allocations: 20.86 kB / 0.6545 GB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.408, allocations: 255.3 kB / 0.6547 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.4081, allocations: 34.52 kB / 0.6548 GB, free: 6.395 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.4081, allocations: 0 / 0.6548 GB, free: 6.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.000152/0.4082, allocations: 57.67 kB / 0.6548 GB, free: 6.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4083, allocations: 55.41 kB / 0.6549 GB, free: 6.266 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.4084, allocations: 97.86 kB / 0.655 GB, free: 6.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4084, allocations: 29.7 kB / 0.655 GB, free: 6.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.4084, allocations: 95.88 kB / 0.6551 GB, free: 6.027 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.4084, allocations: 11.81 kB / 0.6551 GB, free: 6.016 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.4084, allocations: 4.109 kB / 0.6551 GB, free: 6.012 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.4086, allocations: 314.8 kB / 0.6554 GB, free: 5.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.4086, allocations: 15.92 kB / 0.6554 GB, free: 5.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.4086, allocations: 39.42 kB / 0.6555 GB, free: 5.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.4087, allocations: 12 kB / 0.6555 GB, free: 5.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4087, allocations: 0 / 0.6555 GB, free: 5.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001026/0.4088, allocations: 65.62 kB / 0.6555 GB, free: 5.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4088, allocations: 10.33 kB / 0.6555 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4088, allocations: 12.05 kB / 0.6555 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.4088, allocations: 0 / 0.6555 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.4089, allocations: 15.94 kB / 0.6556 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4089, allocations: 0 / 0.6556 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.4089, allocations: 15.84 kB / 0.6556 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.409, allocations: 0 / 0.6556 GB, free: 5.496 MB / 442.7 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 (7): * Single equations (assignments): 7 * 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 6.744e-05/0.409, allocations: 113.8 kB / 0.6557 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.4091, allocations: 8 kB / 0.6557 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.4092, allocations: 73.88 kB / 0.6558 GB, free: 5.293 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4092, allocations: 3.953 kB / 0.6558 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4092, allocations: 3.938 kB / 0.6558 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4092, allocations: 0 / 0.6558 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.4094, allocations: 161.7 kB / 0.6559 GB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4094, allocations: 4 kB / 0.6559 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.4094, allocations: 4 kB / 0.6559 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4094, allocations: 0 / 0.6559 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.4094, allocations: 8 kB / 0.6559 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4094, allocations: 0 / 0.6559 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4095, allocations: 7.938 kB / 0.6559 GB, free: 5.055 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.848e-05/0.4096, allocations: 147.5 kB / 0.6561 GB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.4096, allocations: 77.62 kB / 0.6562 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.4096, allocations: 3.938 kB / 0.6562 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.4097, allocations: 0 / 0.6562 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.4097, allocations: 11.95 kB / 0.6562 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4097, allocations: 9.609 kB / 0.6562 GB, free: 4.777 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.581e-05/0.4097, allocations: 83.27 kB / 0.6563 GB, free: 4.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4097, allocations: 0 / 0.6563 GB, free: 4.695 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003834/0.4101, allocations: 135.9 kB / 0.6564 GB, free: 4.562 MB / 442.7 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 (4): * Single equations (assignments): 4 * 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.0006161/0.4108, allocations: 309.1 kB / 0.6567 GB, free: 4.258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.26e-05/0.4109, allocations: 27.92 kB / 0.6567 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4109, allocations: 0 / 0.6567 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.4109, allocations: 20.17 kB / 0.6567 GB, free: 4.211 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.4111, allocations: 7.531 kB / 0.6567 GB, free: 4.207 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.4114, allocations: 194.6 kB / 0.6569 GB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.4116, allocations: 0.6887 MB / 0.6576 GB, free: 3.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.4117, allocations: 19.38 kB / 0.6576 GB, free: 3.246 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4117, allocations: 0 / 0.6576 GB, free: 3.246 MB / 442.7 MB Notification: Performance of Templates: time 0.004816/0.4165, allocations: 2.882 MB / 0.6604 GB, free: 376 kB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches