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: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 177.7 kB / 16.92 MB, free: 6.68 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.772/1.772, allocations: 205.4 MB / 223.1 MB, free: 5.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3445/0.3445, allocations: 43.57 MB / 315 MB, free: 8.891 MB / 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.000539/0.000539, allocations: 12 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.122, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3981/0.5202, allocations: 148.1 MB / 0.5777 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.522, allocations: 1.286 MB / 0.579 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.5221, allocations: 4 kB / 0.579 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.5224, allocations: 41.05 kB / 0.579 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.5247, allocations: 0.7364 MB / 0.5797 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.282e-06/0.5247, allocations: 4 kB / 0.5797 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.5248, allocations: 95.66 kB / 0.5798 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.5249, allocations: 8 kB / 0.5798 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.5249, allocations: 15.92 kB / 0.5798 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.525, allocations: 19.98 kB / 0.5799 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.525, allocations: 0 / 0.5799 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.5275, allocations: 1.735 MB / 0.5816 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.5276, allocations: 19.92 kB / 0.5816 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.5276, allocations: 37.64 kB / 0.5816 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.5288, allocations: 0.8224 MB / 0.5824 GB, free: 2.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5288, allocations: 0 / 0.5824 GB, free: 2.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5288, allocations: 0.5625 kB / 0.5824 GB, free: 2.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.5288, allocations: 0 / 0.5824 GB, free: 2.078 MB / 446.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.0006046/0.5294, allocations: 450 kB / 0.5828 GB, free: 1.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5295, allocations: 12.03 kB / 0.5829 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.5295, allocations: 1.562 kB / 0.5829 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5296, allocations: 172.2 kB / 0.583 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.5296, allocations: 13.72 kB / 0.583 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.5297, allocations: 3.984 kB / 0.583 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5298, allocations: 73.61 kB / 0.5831 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5298, allocations: 0 / 0.5831 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5299, allocations: 4 kB / 0.5831 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.5299, allocations: 4 kB / 0.5831 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.264e-05/0.53, allocations: 51.91 kB / 0.5832 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.5304, allocations: 296.7 kB / 0.5834 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/0.5305, allocations: 38.59 kB / 0.5835 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.5305, allocations: 8.922 kB / 0.5835 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.5306, allocations: 93.09 kB / 0.5836 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.5306, allocations: 30.56 kB / 0.5836 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5307, allocations: 0 / 0.5836 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001614/0.5308, allocations: 57.62 kB / 0.5837 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.5309, allocations: 51.41 kB / 0.5837 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.531, allocations: 104.3 kB / 0.5838 GB, free: 452 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.531, allocations: 25.7 kB / 0.5838 GB, free: 420 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.531, allocations: 99.88 kB / 0.5839 GB, free: 316 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.531, allocations: 11.84 kB / 0.5839 GB, free: 304 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.5311, allocations: 13.72 kB / 0.584 GB, free: 284 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5312, allocations: 314.8 kB / 0.5843 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.5312, allocations: 12 kB / 0.5843 GB, free: 15.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.5312, allocations: 35.42 kB / 0.5843 GB, free: 15.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.5313, allocations: 39.75 kB / 0.5843 GB, free: 15.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5313, allocations: 0 / 0.5843 GB, free: 15.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.247e-05/0.5314, allocations: 73.61 kB / 0.5844 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5314, allocations: 4 kB / 0.5844 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5314, allocations: 48 / 0.5844 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5315, allocations: 11.92 kB / 0.5844 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.5315, allocations: 8 kB / 0.5844 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5315, allocations: 3.938 kB / 0.5844 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.5316, allocations: 11.84 kB / 0.5844 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5316, allocations: 4 kB / 0.5844 GB, free: 15.73 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 (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 7.175e-05/0.5317, allocations: 117.9 kB / 0.5846 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.5317, allocations: 4 kB / 0.5846 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.5318, allocations: 57.12 kB / 0.5846 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5318, allocations: 0.6562 kB / 0.5846 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5319, allocations: 4 kB / 0.5846 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5319, allocations: 7.922 kB / 0.5846 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.532, allocations: 153.7 kB / 0.5848 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.532, allocations: 8 kB / 0.5848 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.5321, allocations: 7.938 kB / 0.5848 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5321, allocations: 0 / 0.5848 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.5321, allocations: 5.406 kB / 0.5848 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5321, allocations: 0 / 0.5848 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5321, allocations: 0 / 0.5848 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/0.5322, allocations: 139.5 kB / 0.5849 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.5322, allocations: 85.02 kB / 0.585 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5323, allocations: 8.422 kB / 0.585 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.5323, allocations: 4 kB / 0.585 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.5323, allocations: 0 / 0.585 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.5323, allocations: 4.875 kB / 0.585 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.214e-05/0.5324, allocations: 87.12 kB / 0.5851 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5324, allocations: 0 / 0.5851 GB, free: 14.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.5328, allocations: 91.92 kB / 0.5852 GB, free: 14.87 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 (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.0005212/0.5333, allocations: 266.8 kB / 0.5855 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.5334, allocations: 24.23 kB / 0.5855 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5334, allocations: 0 / 0.5855 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.5334, allocations: 11.92 kB / 0.5855 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.5337, allocations: 4 kB / 0.5855 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.5339, allocations: 158.9 kB / 0.5856 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.5342, allocations: 0.6889 MB / 0.5863 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.996e-05/0.5342, allocations: 16.44 kB / 0.5863 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.5343, allocations: 11.44 kB / 0.5863 GB, free: 13.66 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5343, allocations: 4 kB / 0.5863 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Templates: time 0.005136/0.5394, allocations: 2.64 MB / 0.5889 GB, free: 11.02 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches