Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.25/0.25, allocations: 46.91 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.89 kB / 0.4916 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1208, allocations: 65.99 MB / 0.556 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4341/0.5549, allocations: 154.4 MB / 0.7068 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.5569, allocations: 1.46 MB / 0.7082 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.5569, allocations: 0 / 0.7082 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.5572, allocations: 43.8 kB / 0.7082 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.5599, allocations: 1.078 MB / 0.7093 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.5599, allocations: 0 / 0.7093 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.56, allocations: 75.56 kB / 0.7094 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.5601, allocations: 4 kB / 0.7094 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.5601, allocations: 28.98 kB / 0.7094 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.5602, allocations: 35.89 kB / 0.7094 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.5602, allocations: 0 / 0.7094 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.5634, allocations: 1.926 MB / 0.7113 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.5634, allocations: 11.98 kB / 0.7113 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.5635, allocations: 27.86 kB / 0.7114 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.5651, allocations: 0.9235 MB / 0.7123 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5651, allocations: 0 / 0.7123 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5651, allocations: 0 / 0.7123 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5651, allocations: 0 / 0.7123 GB, free: 1.535 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008723/0.5659, allocations: 0.5133 MB / 0.7128 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.566, allocations: 8.031 kB / 0.7128 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.566, allocations: 6.062 kB / 0.7128 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.566, allocations: 34.75 kB / 0.7128 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.5661, allocations: 12.83 kB / 0.7128 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.5662, allocations: 171.5 kB / 0.713 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5662, allocations: 7.984 kB / 0.713 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.5663, allocations: 0 / 0.713 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5664, allocations: 86.23 kB / 0.7131 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5664, allocations: 0 / 0.7131 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.5664, allocations: 0 / 0.7131 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.5665, allocations: 15.92 kB / 0.7131 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.5666, allocations: 63.91 kB / 0.7131 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.5671, allocations: 316.7 kB / 0.7135 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.5672, allocations: 39.38 kB / 0.7135 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.5672, allocations: 24.78 kB / 0.7135 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.5675, allocations: 255.4 kB / 0.7138 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.5675, allocations: 38.48 kB / 0.7138 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.5675, allocations: 0 / 0.7138 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002247/0.5677, allocations: 64.06 kB / 0.7139 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5678, allocations: 53.28 kB / 0.7139 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.5679, allocations: 105.8 kB / 0.714 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5679, allocations: 29.7 kB / 0.714 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.5679, allocations: 96.05 kB / 0.7141 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.568, allocations: 23.83 kB / 0.7141 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.568, allocations: 21.67 kB / 0.7142 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5681, allocations: 318.8 kB / 0.7145 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.5682, allocations: 15.94 kB / 0.7145 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.5682, allocations: 39.41 kB / 0.7145 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.5683, allocations: 59.36 kB / 0.7146 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5683, allocations: 0 / 0.7146 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001399/0.5685, allocations: 82.31 kB / 0.7147 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5685, allocations: 4 kB / 0.7147 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5685, allocations: 0 / 0.7147 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5685, allocations: 12.08 kB / 0.7147 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.5686, allocations: 8 kB / 0.7147 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5686, allocations: 4 kB / 0.7147 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.5686, allocations: 3.938 kB / 0.7147 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.5686, allocations: 7.625 kB / 0.7147 GB, free: 14.73 MB / 0.5294 GB 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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.133e-05/0.5687, allocations: 120 kB / 0.7148 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.5688, allocations: 15.83 kB / 0.7148 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.5689, allocations: 81.28 kB / 0.7149 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.569, allocations: 3.938 kB / 0.7149 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.569, allocations: 0 / 0.7149 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.569, allocations: 0 / 0.7149 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5692, allocations: 161.7 kB / 0.7151 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5692, allocations: 0 / 0.7151 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.5692, allocations: 15.86 kB / 0.7151 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5692, allocations: 4 kB / 0.7151 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5692, allocations: 4 kB / 0.7151 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5692, allocations: 4 kB / 0.7151 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5692, allocations: 0 / 0.7151 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.5694, allocations: 151.5 kB / 0.7152 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.5694, allocations: 85.05 kB / 0.7153 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.5694, allocations: 3.984 kB / 0.7153 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.5695, allocations: 0 / 0.7153 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.5695, allocations: 8 kB / 0.7153 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.5695, allocations: 3.984 kB / 0.7153 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.5695, allocations: 92.45 kB / 0.7154 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5695, allocations: 0 / 0.7154 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005321/0.5701, allocations: 147.5 kB / 0.7156 GB, free: 13.75 MB / 0.5294 GB 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.00112/0.5712, allocations: 0.929 MB / 0.7165 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.5713, allocations: 36.78 kB / 0.7165 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5713, allocations: 0 / 0.7165 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.5714, allocations: 16 kB / 0.7165 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.5717, allocations: 9.172 kB / 0.7165 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.5724, allocations: 271.3 kB / 0.7168 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.5727, allocations: 0.6846 MB / 0.7175 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.343e-05/0.5728, allocations: 17 kB / 0.7175 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.5728, allocations: 23.42 kB / 0.7175 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.5728, allocations: 0 / 0.7175 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.5931, allocations: 5.012 MB / 0.7224 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/9.023, allocations: 9.875 kB / 0.7224 GB, free: 6.754 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.147595409012865]