Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00206/0.00206, allocations: 118.2 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002355/0.002355, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.92 MB / 357.7 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 83.88 kB / 0.4916 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1329, allocations: 66.04 MB / 0.5561 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.43/0.5629, allocations: 154.3 MB / 0.7069 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.5651, allocations: 1.464 MB / 0.7083 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.5651, allocations: 0 / 0.7083 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.5655, allocations: 47.8 kB / 0.7083 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.5683, allocations: 1.081 MB / 0.7094 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-06/0.5683, allocations: 0 / 0.7094 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.5685, allocations: 67.64 kB / 0.7095 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.5685, allocations: 0 / 0.7095 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.5686, allocations: 35.84 kB / 0.7095 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.5686, allocations: 31.84 kB / 0.7095 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.5687, allocations: 0 / 0.7095 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.5721, allocations: 1.922 MB / 0.7114 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.5721, allocations: 23.91 kB / 0.7114 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.5722, allocations: 11.94 kB / 0.7114 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.5739, allocations: 0.9274 MB / 0.7123 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5739, allocations: 4 kB / 0.7124 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5739, allocations: 0 / 0.7124 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5739, allocations: 4 kB / 0.7124 GB, free: 1.113 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.0009178/0.5749, allocations: 0.5055 MB / 0.7128 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5749, allocations: 8.031 kB / 0.7129 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.223e-05/0.5749, allocations: 4.125 kB / 0.7129 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.575, allocations: 42.73 kB / 0.7129 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.575, allocations: 8.828 kB / 0.7129 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.5751, allocations: 167.6 kB / 0.7131 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5752, allocations: 0 / 0.7131 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.5752, allocations: 8 kB / 0.7131 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.5754, allocations: 89.59 kB / 0.7132 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5754, allocations: 0 / 0.7132 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5754, allocations: 3.984 kB / 0.7132 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.5754, allocations: 8 kB / 0.7132 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.5755, allocations: 65.16 kB / 0.7132 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.576, allocations: 316.7 kB / 0.7135 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.376e-05/0.5761, allocations: 46.5 kB / 0.7136 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.5761, allocations: 8.859 kB / 0.7136 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.5764, allocations: 259.4 kB / 0.7138 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.5764, allocations: 38.5 kB / 0.7139 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.5764, allocations: 0 / 0.7139 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002583/0.5767, allocations: 68.38 kB / 0.7139 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5767, allocations: 55.16 kB / 0.714 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.5768, allocations: 109.8 kB / 0.7141 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.5768, allocations: 29.7 kB / 0.7141 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.5769, allocations: 96.03 kB / 0.7142 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.5769, allocations: 15.84 kB / 0.7142 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.5769, allocations: 29.66 kB / 0.7143 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5771, allocations: 311 kB / 0.7146 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.5771, allocations: 15.94 kB / 0.7146 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.5772, allocations: 44.67 kB / 0.7146 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.5772, allocations: 55.36 kB / 0.7147 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5772, allocations: 0 / 0.7147 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/0.5774, allocations: 81.55 kB / 0.7147 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5774, allocations: 9.875 kB / 0.7148 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5774, allocations: 4.781 kB / 0.7148 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5774, allocations: 4 kB / 0.7148 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.5775, allocations: 11.94 kB / 0.7148 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.5775, allocations: 4 kB / 0.7148 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.5775, allocations: 3.984 kB / 0.7148 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.5776, allocations: 8 kB / 0.7148 GB, free: 14.32 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 8.836e-05/0.5776, allocations: 113.8 kB / 0.7149 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.5777, allocations: 12.77 kB / 0.7149 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.5779, allocations: 86.66 kB / 0.715 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5779, allocations: 4 kB / 0.715 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5779, allocations: 0 / 0.715 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5779, allocations: 0 / 0.715 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5781, allocations: 169.6 kB / 0.7152 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5781, allocations: 4 kB / 0.7152 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.5781, allocations: 7.938 kB / 0.7152 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5781, allocations: 0 / 0.7152 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.5781, allocations: 8 kB / 0.7152 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5781, allocations: 3.938 kB / 0.7152 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5781, allocations: 0 / 0.7152 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5783, allocations: 155.5 kB / 0.7153 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.5783, allocations: 85.05 kB / 0.7154 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.5784, allocations: 0 / 0.7154 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.5784, allocations: 4 kB / 0.7154 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.5784, allocations: 0 / 0.7154 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-06/0.5784, allocations: 15.92 kB / 0.7154 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.5785, allocations: 79.28 kB / 0.7155 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5785, allocations: 0 / 0.7155 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000561/0.579, allocations: 155.5 kB / 0.7157 GB, free: 13.34 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.001182/0.5802, allocations: 0.9148 MB / 0.7165 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.5803, allocations: 35.92 kB / 0.7166 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5804, allocations: 0 / 0.7166 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.666e-05/0.5804, allocations: 16.55 kB / 0.7166 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.5807, allocations: 17.05 kB / 0.7166 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.5814, allocations: 272.9 kB / 0.7169 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.5817, allocations: 0.6846 MB / 0.7175 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.651e-05/0.5818, allocations: 16.14 kB / 0.7176 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.5819, allocations: 23.42 kB / 0.7176 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.5819, allocations: 3.938 kB / 0.7176 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.6044, allocations: 5.009 MB / 0.7225 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.631, allocations: 8 kB / 0.7225 GB, free: 6.332 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 11.71447722701123]