Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001789/0.001789, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 73.47 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1111, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4005/0.5117, allocations: 152.2 MB / 0.636 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.5141, allocations: 1.211 MB / 0.6372 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.5142, allocations: 4 kB / 0.6372 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.5145, allocations: 31.88 kB / 0.6373 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.5171, allocations: 0.8828 MB / 0.6381 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.73e-06/0.5172, allocations: 0 / 0.6381 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.5173, allocations: 43.72 kB / 0.6382 GB, free: 500 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.5174, allocations: 4 kB / 0.6382 GB, free: 496 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.5174, allocations: 15.94 kB / 0.6382 GB, free: 480 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.5175, allocations: 27.84 kB / 0.6382 GB, free: 452 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-06/0.5175, allocations: 0 / 0.6382 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.5205, allocations: 1.621 MB / 0.6398 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.5206, allocations: 15.98 kB / 0.6398 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.5206, allocations: 15.92 kB / 0.6398 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.5221, allocations: 0.779 MB / 0.6406 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5221, allocations: 0 / 0.6406 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.5221, allocations: 0 / 0.6406 GB, free: 14.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.5221, allocations: 3.938 kB / 0.6406 GB, free: 14.01 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007216/0.5229, allocations: 470.1 kB / 0.641 GB, free: 13.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5229, allocations: 11.89 kB / 0.641 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.523, allocations: 41.19 kB / 0.6411 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.523, allocations: 4.891 kB / 0.6411 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.5232, allocations: 172.1 kB / 0.6412 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5232, allocations: 0 / 0.6412 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.5232, allocations: 4 kB / 0.6413 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.5233, allocations: 65.67 kB / 0.6413 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5234, allocations: 4 kB / 0.6413 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.5234, allocations: 3.938 kB / 0.6413 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.5234, allocations: 7.984 kB / 0.6413 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.5235, allocations: 43.98 kB / 0.6414 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.5239, allocations: 304.7 kB / 0.6417 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.524, allocations: 34.61 kB / 0.6417 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.5241, allocations: 8.922 kB / 0.6417 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.5242, allocations: 93.09 kB / 0.6418 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.5242, allocations: 30.56 kB / 0.6418 GB, free: 12.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5242, allocations: 0 / 0.6418 GB, free: 12.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.5244, allocations: 65.55 kB / 0.6419 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.5245, allocations: 51.41 kB / 0.6419 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.5246, allocations: 98.05 kB / 0.642 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.5246, allocations: 25.7 kB / 0.642 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.5247, allocations: 99.97 kB / 0.6421 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.5247, allocations: 11.91 kB / 0.6422 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.5247, allocations: 25.47 kB / 0.6422 GB, free: 12.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5249, allocations: 314.8 kB / 0.6425 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.5249, allocations: 8 kB / 0.6425 GB, free: 11.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.525, allocations: 31.44 kB / 0.6425 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.525, allocations: 51.53 kB / 0.6426 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.525, allocations: 0.5 kB / 0.6426 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001056/0.5252, allocations: 69.61 kB / 0.6426 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5252, allocations: 7.938 kB / 0.6426 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5252, allocations: 3.938 kB / 0.6426 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5252, allocations: 4 kB / 0.6426 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.5253, allocations: 19 kB / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5253, allocations: 0 / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.5253, allocations: 4 kB / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.5254, allocations: 4 kB / 0.6427 GB, free: 11.59 MB / 494.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 (6): * Single equations (assignments): 6 * 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 9.468e-05/0.5255, allocations: 125.8 kB / 0.6428 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.5255, allocations: 7.953 kB / 0.6428 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.5256, allocations: 58.23 kB / 0.6429 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5256, allocations: 0 / 0.6429 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5256, allocations: 4 kB / 0.6429 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.5257, allocations: 0 / 0.6429 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.5258, allocations: 165.7 kB / 0.643 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5259, allocations: 4 kB / 0.643 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.5259, allocations: 4 kB / 0.643 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5259, allocations: 0 / 0.643 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.5259, allocations: 3.938 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5259, allocations: 1.875 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5259, allocations: 0 / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.5261, allocations: 139.5 kB / 0.6432 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.5261, allocations: 77.11 kB / 0.6432 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.5261, allocations: 3.938 kB / 0.6432 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.816e-05/0.5262, allocations: 8 kB / 0.6433 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.5262, allocations: 11.92 kB / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5262, allocations: 0 / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.5263, allocations: 79.28 kB / 0.6433 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5263, allocations: 0 / 0.6433 GB, free: 10.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000435/0.5267, allocations: 107.5 kB / 0.6434 GB, free: 10.71 MB / 494.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 (3): * Single equations (assignments): 3 * 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.0009472/0.5277, allocations: 0.8255 MB / 0.6442 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.5278, allocations: 27.92 kB / 0.6443 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5278, allocations: 0 / 0.6443 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.5278, allocations: 7.984 kB / 0.6443 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5281, allocations: 8.875 kB / 0.6443 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.5286, allocations: 213.2 kB / 0.6445 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.529, allocations: 0.6807 MB / 0.6452 GB, free: 8.859 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.529, allocations: 5.641 kB / 0.6452 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.5291, allocations: 23.42 kB / 0.6452 GB, free: 8.832 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5291, allocations: 4 kB / 0.6452 GB, free: 8.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.5546, allocations: 3.781 MB / 0.6489 GB, free: 5.047 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.642, allocations: 7.578 kB / 0.6489 GB, free: 5.043 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches