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.001337/0.001337, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001431/0.001431, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2222/0.2222, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.002243/0.002243, allocations: 83.88 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3219, allocations: 66.08 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1882/0.5101, allocations: 154.4 MB / 0.7115 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.5122, allocations: 1.48 MB / 0.7129 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/0.5122, allocations: 0 / 0.7129 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.5125, allocations: 47.73 kB / 0.713 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.5153, allocations: 1.095 MB / 0.7141 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.529e-06/0.5153, allocations: 4 kB / 0.7141 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.5154, allocations: 59.66 kB / 0.7141 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.5154, allocations: 7.984 kB / 0.7141 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.5155, allocations: 23.92 kB / 0.7142 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.5155, allocations: 35.83 kB / 0.7142 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.5156, allocations: 0 / 0.7142 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.5189, allocations: 1.946 MB / 0.7161 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.5189, allocations: 15.92 kB / 0.7161 GB, free: 4.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.519, allocations: 23.86 kB / 0.7161 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.5206, allocations: 0.9312 MB / 0.717 GB, free: 3.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5206, allocations: 0 / 0.717 GB, free: 3.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5206, allocations: 0 / 0.717 GB, free: 3.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5206, allocations: 0 / 0.717 GB, free: 3.641 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.0007431/0.5213, allocations: 444.5 kB / 0.7175 GB, free: 3.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5214, allocations: 12.03 kB / 0.7175 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.5214, allocations: 38.73 kB / 0.7175 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.5215, allocations: 8.891 kB / 0.7175 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5216, allocations: 109.5 kB / 0.7176 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5216, allocations: 4 kB / 0.7176 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.5216, allocations: 7.938 kB / 0.7176 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.5218, allocations: 85.59 kB / 0.7177 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5218, allocations: 0 / 0.7177 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5218, allocations: 7.984 kB / 0.7177 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.5218, allocations: 8 kB / 0.7177 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.5219, allocations: 67.95 kB / 0.7178 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.5224, allocations: 287.7 kB / 0.7181 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.5225, allocations: 38.56 kB / 0.7181 GB, free: 2.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.5225, allocations: 12.98 kB / 0.7181 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.5227, allocations: 39.91 kB / 0.7182 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5227, allocations: 30.56 kB / 0.7182 GB, free: 2.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.5227, allocations: 4 kB / 0.7182 GB, free: 2.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002121/0.5229, allocations: 69.61 kB / 0.7183 GB, free: 2.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5229, allocations: 51.52 kB / 0.7183 GB, free: 2.188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.523, allocations: 109.8 kB / 0.7184 GB, free: 2.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5231, allocations: 29.7 kB / 0.7184 GB, free: 2.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.5231, allocations: 92.05 kB / 0.7185 GB, free: 1.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5231, allocations: 23.83 kB / 0.7185 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.5232, allocations: 21.67 kB / 0.7186 GB, free: 1.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5233, allocations: 318.8 kB / 0.7189 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.5233, allocations: 15.98 kB / 0.7189 GB, free: 1.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.5234, allocations: 35.42 kB / 0.7189 GB, free: 1.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.5235, allocations: 59.86 kB / 0.719 GB, free: 1.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5235, allocations: 0 / 0.719 GB, free: 1.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.5236, allocations: 89.5 kB / 0.7191 GB, free: 1.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5236, allocations: 4 kB / 0.7191 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5236, allocations: 0 / 0.7191 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5237, allocations: 4 kB / 0.7191 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/0.5238, allocations: 11.98 kB / 0.7191 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5238, allocations: 4 kB / 0.7191 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.5238, allocations: 0 / 0.7191 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.5238, allocations: 4.094 kB / 0.7191 GB, free: 1.316 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.85e-05/0.5239, allocations: 123.1 kB / 0.7192 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.5239, allocations: 15.88 kB / 0.7192 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.5241, allocations: 77.47 kB / 0.7193 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5241, allocations: 3.984 kB / 0.7193 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5241, allocations: 0 / 0.7193 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5241, allocations: 4 kB / 0.7193 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.5243, allocations: 136.7 kB / 0.7194 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5243, allocations: 3.938 kB / 0.7194 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.5243, allocations: 8 kB / 0.7194 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5243, allocations: 7.984 kB / 0.7195 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.5243, allocations: 0 / 0.7195 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5244, allocations: 3.984 kB / 0.7195 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5244, allocations: 0 / 0.7195 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.5245, allocations: 163.4 kB / 0.7196 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.5245, allocations: 7.922 kB / 0.7196 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.5245, allocations: 0 / 0.7196 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.5246, allocations: 192 / 0.7196 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.5246, allocations: 15.92 kB / 0.7196 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.5246, allocations: 8 kB / 0.7196 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.5247, allocations: 79.28 kB / 0.7197 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5247, allocations: 0 / 0.7197 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005141/0.5252, allocations: 155.5 kB / 0.7199 GB, free: 456 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.001117/0.5263, allocations: 0.9109 MB / 0.7208 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.5264, allocations: 39.97 kB / 0.7208 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5264, allocations: 0 / 0.7208 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.5265, allocations: 20.12 kB / 0.7208 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5267, allocations: 11.98 kB / 0.7208 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.5274, allocations: 261.8 kB / 0.7211 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.5277, allocations: 0.6884 MB / 0.7217 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.016e-05/0.5278, allocations: 19.92 kB / 0.7218 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.5279, allocations: 19.44 kB / 0.7218 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.5279, allocations: 0 / 0.7218 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.5593, allocations: 5.108 MB / 0.7268 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.54, allocations: 0 / 0.7268 GB, free: 9.371 MB / 0.5606 GB " [Timeout remaining time 648] (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.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] "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: 14.838193267998577]