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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 195.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 243.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007677/0.0007678, allocations: 94.83 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.274/0.274, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002482, allocations: 4 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2594, allocations: 62.96 MB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1196/0.3791, allocations: 137 MB / 0.6498 GB, free: 32 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3805, allocations: 1.224 MB / 0.651 GB, free: 14.81 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.3806, allocations: 3.938 kB / 0.651 GB, free: 14.8 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.3808, allocations: 39.86 kB / 0.651 GB, free: 14.77 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.3828, allocations: 0.8364 MB / 0.6518 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.3829, allocations: 0 / 0.6518 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.383, allocations: 79.67 kB / 0.6519 GB, free: 13.85 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.383, allocations: 4 kB / 0.6519 GB, free: 13.85 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.383, allocations: 19.92 kB / 0.6519 GB, free: 13.83 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.3831, allocations: 27.91 kB / 0.6519 GB, free: 13.8 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.3831, allocations: 0 / 0.6519 GB, free: 13.8 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.3857, allocations: 1.872 MB / 0.6538 GB, free: 11.93 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.3857, allocations: 11.98 kB / 0.6538 GB, free: 11.91 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.3857, allocations: 41.64 kB / 0.6538 GB, free: 11.87 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.3866, allocations: 0.6372 MB / 0.6544 GB, free: 11.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3866, allocations: 0 / 0.6544 GB, free: 11.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3866, allocations: 4 kB / 0.6544 GB, free: 11.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3867, allocations: 0 / 0.6544 GB, free: 11.23 MB / 474.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.0005445/0.3872, allocations: 483.2 kB / 0.6549 GB, free: 10.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3872, allocations: 8.031 kB / 0.6549 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.3873, allocations: 38.73 kB / 0.6549 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.3873, allocations: 4.844 kB / 0.655 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.3874, allocations: 179.3 kB / 0.6551 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3874, allocations: 4 kB / 0.6551 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.3874, allocations: 4 kB / 0.6551 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3876, allocations: 69.67 kB / 0.6552 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3876, allocations: 0 / 0.6552 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.3876, allocations: 0 / 0.6552 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.3876, allocations: 4 kB / 0.6552 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.3877, allocations: 51.97 kB / 0.6553 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.388, allocations: 312.6 kB / 0.6555 GB, free: 9.941 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.3881, allocations: 34.56 kB / 0.6556 GB, free: 9.898 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.3881, allocations: 12.86 kB / 0.6556 GB, free: 9.883 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.3883, allocations: 259.3 kB / 0.6558 GB, free: 9.574 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3884, allocations: 34.56 kB / 0.6559 GB, free: 9.531 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3884, allocations: 0 / 0.6559 GB, free: 9.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001476/0.3885, allocations: 53.62 kB / 0.6559 GB, free: 9.473 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.3886, allocations: 55.41 kB / 0.656 GB, free: 9.406 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.3886, allocations: 105.8 kB / 0.6561 GB, free: 9.293 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.3887, allocations: 25.7 kB / 0.6561 GB, free: 9.262 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.3887, allocations: 91.89 kB / 0.6562 GB, free: 9.168 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.3887, allocations: 15.81 kB / 0.6562 GB, free: 9.152 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3887, allocations: 0 / 0.6562 GB, free: 9.152 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.3888, allocations: 318.8 kB / 0.6565 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.3888, allocations: 8 kB / 0.6565 GB, free: 8.824 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.3889, allocations: 39.42 kB / 0.6566 GB, free: 8.773 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.3889, allocations: 47.75 kB / 0.6566 GB, free: 8.715 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3889, allocations: 0 / 0.6566 GB, free: 8.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.866e-05/0.389, allocations: 77.55 kB / 0.6567 GB, free: 8.633 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.389, allocations: 12.03 kB / 0.6567 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3891, allocations: 48 / 0.6567 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3891, allocations: 7.922 kB / 0.6567 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/0.3891, allocations: 15.98 kB / 0.6567 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3892, allocations: 0 / 0.6567 GB, free: 8.598 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.3892, allocations: 7.938 kB / 0.6567 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3892, allocations: 8 kB / 0.6567 GB, free: 8.582 MB / 474.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.084e-05/0.3893, allocations: 117.8 kB / 0.6568 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3893, allocations: 7.844 kB / 0.6568 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.3894, allocations: 65.17 kB / 0.6569 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3895, allocations: 4 kB / 0.6569 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3895, allocations: 0 / 0.6569 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3895, allocations: 0 / 0.6569 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3896, allocations: 161.8 kB / 0.6571 GB, free: 8.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3896, allocations: 7.875 kB / 0.6571 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.3897, allocations: 15.98 kB / 0.6571 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3897, allocations: 0 / 0.6571 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3897, allocations: 0 / 0.6571 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3897, allocations: 0 / 0.6571 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3897, allocations: 0 / 0.6571 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.3898, allocations: 151.5 kB / 0.6572 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.3898, allocations: 84.95 kB / 0.6573 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3898, allocations: 7.984 kB / 0.6573 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.406e-05/0.3899, allocations: 0 / 0.6573 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.3899, allocations: 4 kB / 0.6573 GB, free: 7.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3899, allocations: 4 kB / 0.6573 GB, free: 7.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.904e-05/0.3899, allocations: 83.28 kB / 0.6574 GB, free: 7.785 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.39, allocations: 0 / 0.6574 GB, free: 7.785 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000405/0.3904, allocations: 139.8 kB / 0.6575 GB, free: 7.648 MB / 474.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.000922/0.3913, allocations: 0.9068 MB / 0.6584 GB, free: 6.723 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.3914, allocations: 31.92 kB / 0.6585 GB, free: 6.691 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3914, allocations: 0 / 0.6585 GB, free: 6.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.3914, allocations: 15.92 kB / 0.6585 GB, free: 6.676 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.3917, allocations: 9.547 kB / 0.6585 GB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.3921, allocations: 276.2 kB / 0.6587 GB, free: 6.348 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3923, allocations: 0.6809 MB / 0.6594 GB, free: 5.641 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.3924, allocations: 27.36 kB / 0.6594 GB, free: 5.613 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3924, allocations: 0 / 0.6594 GB, free: 5.613 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.115/3.508, allocations: 3.116 MB / 0.6625 GB, free: 2.496 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/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