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.001656/0.001656, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002162/0.002162, allocations: 215.6 kB / 24.54 MB, free: 4.02 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.406/1.406, allocations: 230.3 MB / 258 MB, free: 8.219 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.2243/0.2243, allocations: 46.88 MB / 361.3 MB, free: 4.531 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 79.86 kB / 0.4966 GB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3271, allocations: 66.02 MB / 0.561 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1823/0.5094, allocations: 154.4 MB / 0.7118 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.5116, allocations: 1.472 MB / 0.7133 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.5117, allocations: 0 / 0.7133 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.512, allocations: 51.73 kB / 0.7133 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.515, allocations: 1.087 MB / 0.7144 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.101e-06/0.515, allocations: 4 kB / 0.7144 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.5151, allocations: 71.62 kB / 0.7144 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.5152, allocations: 4 kB / 0.7145 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.5152, allocations: 15.94 kB / 0.7145 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.5153, allocations: 43.81 kB / 0.7145 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.5153, allocations: 4 kB / 0.7145 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.5188, allocations: 1.934 MB / 0.7164 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.5188, allocations: 19.91 kB / 0.7164 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.5189, allocations: 23.86 kB / 0.7164 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.5205, allocations: 0.9274 MB / 0.7173 GB, free: 4.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5205, allocations: 4 kB / 0.7174 GB, free: 4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5205, allocations: 0 / 0.7174 GB, free: 4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5205, allocations: 4 kB / 0.7174 GB, free: 3.996 MB / 0.545 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.0008073/0.5213, allocations: 0.5055 MB / 0.7178 GB, free: 3.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.5214, allocations: 8.031 kB / 0.7179 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.5214, allocations: 42.69 kB / 0.7179 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.5214, allocations: 4.891 kB / 0.7179 GB, free: 3.379 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.5216, allocations: 167.4 kB / 0.7181 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5216, allocations: 4 kB / 0.7181 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.5216, allocations: 7.938 kB / 0.7181 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.5218, allocations: 93.58 kB / 0.7182 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5218, allocations: 0 / 0.7182 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5218, allocations: 0 / 0.7182 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.5219, allocations: 8 kB / 0.7182 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.522, allocations: 67.95 kB / 0.7182 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.5226, allocations: 312.6 kB / 0.7185 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.5226, allocations: 46.56 kB / 0.7186 GB, free: 2.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.5227, allocations: 16.83 kB / 0.7186 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.523, allocations: 263.4 kB / 0.7188 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.523, allocations: 34.56 kB / 0.7189 GB, free: 2.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.523, allocations: 0 / 0.7189 GB, free: 2.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002556/0.5233, allocations: 77.61 kB / 0.719 GB, free: 2.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5233, allocations: 51.41 kB / 0.719 GB, free: 2.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.5234, allocations: 105.9 kB / 0.7191 GB, free: 1.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.5234, allocations: 29.69 kB / 0.7191 GB, free: 1.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.5235, allocations: 92.05 kB / 0.7192 GB, free: 1.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.5235, allocations: 15.84 kB / 0.7192 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.5236, allocations: 29.77 kB / 0.7193 GB, free: 1.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5237, allocations: 314.8 kB / 0.7196 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.5237, allocations: 15.98 kB / 0.7196 GB, free: 1.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.5238, allocations: 43.42 kB / 0.7196 GB, free: 1.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.5239, allocations: 51.38 kB / 0.7197 GB, free: 1.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5239, allocations: 0 / 0.7197 GB, free: 1.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001334/0.524, allocations: 81.55 kB / 0.7197 GB, free: 1.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.524, allocations: 16.03 kB / 0.7198 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.524, allocations: 0 / 0.7198 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.524, allocations: 4 kB / 0.7198 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.5241, allocations: 11.98 kB / 0.7198 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5241, allocations: 4 kB / 0.7198 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.5242, allocations: 0 / 0.7198 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.5242, allocations: 4 kB / 0.7198 GB, free: 1.195 MB / 0.545 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.815e-05/0.5243, allocations: 119.1 kB / 0.7199 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.5243, allocations: 11.89 kB / 0.7199 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.5245, allocations: 85.28 kB / 0.72 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.5245, allocations: 4 kB / 0.72 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5245, allocations: 0.625 kB / 0.72 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5245, allocations: 3.984 kB / 0.72 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.5247, allocations: 157.7 kB / 0.7201 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5247, allocations: 7.938 kB / 0.7202 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.5248, allocations: 12 kB / 0.7202 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5248, allocations: 4 kB / 0.7202 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.5248, allocations: 7.984 kB / 0.7202 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5248, allocations: 0 / 0.7202 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5248, allocations: 0 / 0.7202 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5249, allocations: 155.4 kB / 0.7203 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.525, allocations: 85.05 kB / 0.7204 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.525, allocations: 0 / 0.7204 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.5251, allocations: 4 kB / 0.7204 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.5251, allocations: 7.984 kB / 0.7204 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.5251, allocations: 4 kB / 0.7204 GB, free: 452 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.5251, allocations: 79.28 kB / 0.7205 GB, free: 372 kB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5251, allocations: 0 / 0.7205 GB, free: 372 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005821/0.5257, allocations: 155.5 kB / 0.7206 GB, free: 216 kB / 0.545 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.001152/0.5269, allocations: 0.9186 MB / 0.7215 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.527, allocations: 31.98 kB / 0.7216 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.527, allocations: 4 kB / 0.7216 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.527, allocations: 19.92 kB / 0.7216 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.5273, allocations: 16.69 kB / 0.7216 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.528, allocations: 266 kB / 0.7219 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5284, allocations: 0.6845 MB / 0.7225 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.964e-05/0.5284, allocations: 19.92 kB / 0.7226 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.5285, allocations: 19.44 kB / 0.7226 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.5285, allocations: 0 / 0.7226 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.5565, allocations: 5.001 MB / 0.7275 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.515, allocations: 20.92 kB / 0.7275 GB, free: 9.191 MB / 0.5606 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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] "Error: Could not read variable p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable s in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.68469553696923]