Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 190.9 kB / 16.78 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007966/0.0007968, allocations: 97.11 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4383/0.4383, allocations: 44.82 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002985, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4474, allocations: 62.95 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.402/7.849, allocations: 3.556 GB / 4.073 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/7.85, allocations: 91.95 kB / 4.073 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/9.079, allocations: 406.1 MB / 4.469 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.273e-06/9.079, allocations: 0 / 4.469 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.978e-05/9.079, allocations: 24.22 kB / 4.469 GB, free: 47.36 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006363/9.085, allocations: 2.301 MB / 4.472 GB, free: 45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/9.085, allocations: 8.031 kB / 4.472 GB, free: 45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/9.086, allocations: 115.7 kB / 4.472 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/9.087, allocations: 0.6435 MB / 4.472 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/9.087, allocations: 126.9 kB / 4.472 GB, free: 44.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/9.087, allocations: 71.98 kB / 4.473 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/9.088, allocations: 1.148 MB / 4.474 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/9.088, allocations: 3.938 kB / 4.474 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/9.088, allocations: 35.92 kB / 4.474 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/9.089, allocations: 53.97 kB / 4.474 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/9.09, allocations: 1.144 MB / 4.475 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/9.095, allocations: 4.647 MB / 4.479 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/9.096, allocations: 0.8168 MB / 4.48 GB, free: 35.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/9.097, allocations: 419 kB / 4.481 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008645/9.098, allocations: 1.63 MB / 4.482 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/9.098, allocations: 43.12 kB / 4.482 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.476e-06/9.098, allocations: 0 / 4.482 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01185/9.11, allocations: 4.281 MB / 4.486 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/9.11, allocations: 115.5 kB / 4.487 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/9.11, allocations: 0.6524 MB / 4.487 GB, free: 28.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/9.11, allocations: 41.7 kB / 4.487 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/9.111, allocations: 387.5 kB / 4.488 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/9.111, allocations: 291.9 kB / 4.488 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/9.111, allocations: 20 kB / 4.488 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/9.111, allocations: 390.7 kB / 4.488 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/9.112, allocations: 493.7 kB / 4.489 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009209/9.113, allocations: 0.7523 MB / 4.489 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/9.114, allocations: 1.273 MB / 4.491 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/9.114, allocations: 4 kB / 4.491 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002733/9.117, allocations: 1.666 MB / 4.492 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/9.117, allocations: 11.94 kB / 4.492 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/9.117, allocations: 8 kB / 4.492 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006809/9.124, allocations: 1.429 MB / 4.494 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/9.125, allocations: 159.7 kB / 4.494 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/9.127, allocations: 1.548 MB / 4.495 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009835/9.128, allocations: 91.78 kB / 4.495 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/9.128, allocations: 55.97 kB / 4.496 GB, free: 19.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0004558/9.128, allocations: 292.8 kB / 4.496 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/9.129, allocations: 83.06 kB / 4.496 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/9.131, allocations: 1.685 MB / 4.498 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/9.131, allocations: 11.94 kB / 4.498 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/9.131, allocations: 0 / 4.498 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/9.131, allocations: 3.984 kB / 4.498 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/9.135, allocations: 2.633 MB / 4.5 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/9.135, allocations: 7.984 kB / 4.5 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/9.136, allocations: 259.9 kB / 4.5 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/9.138, allocations: 396.3 kB / 4.501 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/9.138, allocations: 27.98 kB / 4.501 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/9.14, allocations: 2.28 MB / 4.503 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/9.14, allocations: 3.938 kB / 4.503 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/9.143, allocations: 2.032 MB / 4.505 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/9.143, allocations: 287.9 kB / 4.505 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/9.143, allocations: 23.98 kB / 4.505 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/9.144, allocations: 79.88 kB / 4.505 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/9.144, allocations: 56.92 kB / 4.505 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/9.144, allocations: 52.05 kB / 4.505 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005127/9.145, allocations: 482.9 kB / 4.506 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/9.145, allocations: 0 / 4.506 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002399/9.147, allocations: 0.8078 MB / 4.507 GB, free: 7.535 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002501/9.15, allocations: 1.512 MB / 4.508 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002235/9.152, allocations: 1.237 MB / 4.509 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/9.152, allocations: 8.25 kB / 4.509 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/9.153, allocations: 0.693 MB / 4.51 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/9.156, allocations: 482.8 kB / 4.511 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/9.159, allocations: 2.573 MB / 4.513 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/9.16, allocations: 1.039 MB / 4.514 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/9.16, allocations: 103.4 kB / 4.514 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/9.16, allocations: 0 / 4.514 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.2589/9.419, allocations: 30.7 MB / 4.544 GB, free: 75.46 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches