Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008157/0.0008157, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008118/0.0008118, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8598/0.8598, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.707e-05, allocations: 7.062 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.03987/0.03989, allocations: 58.84 MB / 383.4 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.04393, allocations: 4.97 MB / 388.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.0441, allocations: 7.938 kB / 388.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.04479, allocations: 341.8 kB / 388.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.04536, allocations: 0.5356 MB / 389.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.0575, allocations: 7.531 MB / 396.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.0586, allocations: 1.562 MB / 398.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.05881, allocations: 145.5 kB / 398.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007059/0.05952, allocations: 0.8455 MB / 399.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006328/0.06015, allocations: 0.5298 MB / 399.8 MB, free: 4.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.06023, allocations: 84 kB / 399.9 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.07127, allocations: 9.586 MB / 409.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.07152, allocations: 343.1 kB / 409.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.07177, allocations: 339.4 kB / 410.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008014/0.07978, allocations: 7.156 MB / 417.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.07978, allocations: 0 / 417.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.07979, allocations: 3.938 kB / 417.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.0798, allocations: 0 / 417.3 MB, free: 2.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002458/0.08226, allocations: 1.525 MB / 418.8 MB, free: 1.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.08229, allocations: 15.92 kB / 418.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.444e-05/0.08239, allocations: 114.5 kB / 419 MB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.08263, allocations: 87.5 kB / 419.1 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.08306, allocations: 379.7 kB / 419.4 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.08308, allocations: 45.31 kB / 419.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.08315, allocations: 71.95 kB / 419.5 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.08437, allocations: 1.216 MB / 420.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.08439, allocations: 4 kB / 420.8 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.08443, allocations: 28 kB / 420.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.08445, allocations: 19.98 kB / 420.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.08552, allocations: 1.012 MB / 421.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006325/0.09185, allocations: 4.139 MB / 426 MB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.09283, allocations: 0.7078 MB / 426.7 MB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.09318, allocations: 387 kB / 427.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004838/0.09802, allocations: 2.615 MB / 429.7 MB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.09804, allocations: 43.22 kB / 429.7 MB, free: 6.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 1.804e-06/0.09804, allocations: 0 / 429.7 MB, free: 6.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005228/0.1033, allocations: 3.152 MB / 432.9 MB, free: 2.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1033, allocations: 60.41 kB / 432.9 MB, free: 2.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.1037, allocations: 360.4 kB / 433.3 MB, free: 2.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/0.1038, allocations: 45.7 kB / 433.3 MB, free: 2.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1039, allocations: 241.2 kB / 433.6 MB, free: 2.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.1042, allocations: 325.1 kB / 433.9 MB, free: 1.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1043, allocations: 162.6 kB / 434 MB, free: 1.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.1044, allocations: 358.8 kB / 434.4 MB, free: 1.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.1048, allocations: 377.8 kB / 434.7 MB, free: 1.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/0.1054, allocations: 496.2 kB / 435.2 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.1064, allocations: 0.8904 MB / 436.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1064, allocations: 8 kB / 436.1 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001522/0.108, allocations: 1.11 MB / 437.2 MB, free: 14.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.108, allocations: 8 kB / 437.2 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.108, allocations: 3.938 kB / 437.3 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.1084, allocations: 175.5 kB / 437.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.1091, allocations: 183.8 kB / 437.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.1122, allocations: 3.914 MB / 441.5 MB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.1126, allocations: 24 kB / 441.5 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.1127, allocations: 47.92 kB / 441.6 MB, free: 9.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.113, allocations: 222.4 kB / 441.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.1133, allocations: 63.95 kB / 441.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.1151, allocations: 1.277 MB / 443.1 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1151, allocations: 11.94 kB / 443.2 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1151, allocations: 0 / 443.2 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001309/0.1164, allocations: 1.32 MB / 444.5 MB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.1189, allocations: 1.796 MB / 446.3 MB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1189, allocations: 0 / 446.3 MB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.1194, allocations: 171.8 kB / 446.4 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009663/0.1204, allocations: 301.3 kB / 446.7 MB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.1204, allocations: 35.91 kB / 446.8 MB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005573/0.121, allocations: 1.289 MB / 448.1 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.121, allocations: 0 / 448.1 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.1228, allocations: 1.414 MB / 449.5 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1229, allocations: 51.91 kB / 449.5 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.123, allocations: 31.92 kB / 449.6 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.1233, allocations: 27.98 kB / 449.6 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.1234, allocations: 56.89 kB / 449.6 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.1234, allocations: 43.97 kB / 449.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.1237, allocations: 279 kB / 449.9 MB, free: 1.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1237, allocations: 0 / 449.9 MB, free: 1.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1362/0.2599, allocations: 1.422 MB / 451.4 MB, free: 119.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006817/0.2667, allocations: 3.763 MB / 455.1 MB, free: 119.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2683, allocations: 1.11 MB / 456.2 MB, free: 118.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2683, allocations: 0 / 456.2 MB, free: 118.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.2688, allocations: 487 kB / 456.7 MB, free: 118.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.2699, allocations: 385.4 kB / 457.1 MB, free: 118.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/0.2775, allocations: 6.983 MB / 464.1 MB, free: 113.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.2777, allocations: 312.8 kB / 464.4 MB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.2782, allocations: 196.2 kB / 464.6 MB, free: 113.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.2784, allocations: 232.7 kB / 464.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2784, allocations: 0 / 464.8 MB, free: 113.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06721/0.3457, allocations: 59.46 MB / 0.512 GB, free: 54.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.627/9.973, allocations: 4 kB / 0.512 GB, free: 54.42 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volume1.medium.p in file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.158468446694314]