Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001272/0.001272, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001404/0.001404, allocations: 211.7 kB / 23.78 MB, free: 4.434 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.479/1.479, allocations: 230.5 MB / 257.5 MB, free: 7.738 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.2294/0.2294, allocations: 46.94 MB / 360.9 MB, free: 3.902 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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 79.86 kB / 0.4963 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3538, allocations: 66.09 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1792/0.5331, allocations: 130.2 MB / 0.688 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008286/0.5413, allocations: 5.179 MB / 0.6931 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.5421, allocations: 27.75 kB / 0.6931 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.5432, allocations: 318 kB / 0.6934 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.5455, allocations: 0.8863 MB / 0.6942 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.5484, allocations: 1.046 MB / 0.6953 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.5509, allocations: 1.817 MB / 0.697 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007214/0.5516, allocations: 389.6 kB / 0.6974 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.5535, allocations: 0.7903 MB / 0.6982 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.555, allocations: 0.7474 MB / 0.6989 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.5551, allocations: 60 kB / 0.699 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5564, allocations: 491.1 kB / 0.6994 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.5567, allocations: 271.2 kB / 0.6997 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.5572, allocations: 338.5 kB / 0.7 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.5589, allocations: 1.16 MB / 0.7012 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5589, allocations: 4 kB / 0.7012 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5589, allocations: 0 / 0.7012 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.5589, allocations: 0 / 0.7012 GB, free: 3.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002336/0.5612, allocations: 0.995 MB / 0.7021 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5613, allocations: 12.03 kB / 0.7021 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5614, allocations: 102.6 kB / 0.7022 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.5618, allocations: 96.41 kB / 0.7023 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.5627, allocations: 474.8 kB / 0.7028 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.5629, allocations: 160.3 kB / 0.7029 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.563, allocations: 52.12 kB / 0.703 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5645, allocations: 1.137 MB / 0.7041 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.5645, allocations: 4 kB / 0.7041 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.5646, allocations: 23.98 kB / 0.7041 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.5646, allocations: 40.97 kB / 0.7042 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.5658, allocations: 0.6478 MB / 0.7048 GB, free: 15.79 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.5708, allocations: 3.156 MB / 0.7079 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.5718, allocations: 408.2 kB / 0.7083 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.5721, allocations: 189.4 kB / 0.7085 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.5724, allocations: 68.28 kB / 0.7085 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.5725, allocations: 38.89 kB / 0.7086 GB, free: 11.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.494e-06/0.5725, allocations: 0 / 0.7086 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.00343/0.5759, allocations: 1.406 MB / 0.7099 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.576, allocations: 132.5 kB / 0.7101 GB, free: 10.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.5768, allocations: 0.5886 MB / 0.7106 GB, free: 9.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.5768, allocations: 37.7 kB / 0.7107 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.5771, allocations: 363.9 kB / 0.711 GB, free: 9.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.5773, allocations: 166.6 kB / 0.7112 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.5775, allocations: 142.6 kB / 0.7113 GB, free: 8.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.5777, allocations: 374.8 kB / 0.7117 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.5781, allocations: 213.9 kB / 0.7119 GB, free: 8.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.5788, allocations: 0.5923 MB / 0.7124 GB, free: 7.559 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.5799, allocations: 0.7572 MB / 0.7132 GB, free: 6.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5799, allocations: 0 / 0.7132 GB, free: 6.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001711/0.5816, allocations: 0.9158 MB / 0.7141 GB, free: 5.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.5816, allocations: 8 kB / 0.7141 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5816, allocations: 16.12 kB / 0.7141 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.5831, allocations: 278.5 kB / 0.7144 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.5835, allocations: 123.8 kB / 0.7145 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.5846, allocations: 0.884 MB / 0.7153 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.5851, allocations: 35.92 kB / 0.7154 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.5852, allocations: 35.98 kB / 0.7154 GB, free: 4.348 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.5856, allocations: 257.5 kB / 0.7157 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.5858, allocations: 67.58 kB / 0.7157 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.5871, allocations: 0.6972 MB / 0.7164 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.5871, allocations: 7.984 kB / 0.7164 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5871, allocations: 0 / 0.7164 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5872, allocations: 7.922 kB / 0.7164 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.5892, allocations: 1.226 MB / 0.7176 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.5892, allocations: 4 kB / 0.7176 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.5903, allocations: 207.9 kB / 0.7178 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.5904, allocations: 16.84 kB / 0.7178 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.5905, allocations: 19.98 kB / 0.7179 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.5929, allocations: 2.659 MB / 0.7205 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5929, allocations: 4.031 kB / 0.7205 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5945, allocations: 0.9472 MB / 0.7214 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.5949, allocations: 139.7 kB / 0.7215 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.595, allocations: 12 kB / 0.7215 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.5954, allocations: 16 kB / 0.7215 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5955, allocations: 39.86 kB / 0.7216 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.5956, allocations: 23.98 kB / 0.7216 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006321/0.5962, allocations: 427 kB / 0.722 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5962, allocations: 0 / 0.722 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009186/0.5972, allocations: 227.8 kB / 0.7222 GB, free: 13.01 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/0.5994, allocations: 1.642 MB / 0.7238 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.6009, allocations: 0.577 MB / 0.7244 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6009, allocations: 4 kB / 0.7244 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.602, allocations: 438.3 kB / 0.7248 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.6038, allocations: 379.1 kB / 0.7252 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.6143, allocations: 6.478 MB / 0.7315 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.6147, allocations: 341.4 kB / 0.7318 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007416/0.6154, allocations: 215 kB / 0.732 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.6158, allocations: 236.4 kB / 0.7323 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.6158, allocations: 3.938 kB / 0.7323 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3627/0.9785, allocations: 24.13 MB / 0.7558 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.79, allocations: 13.72 kB / 0.7558 GB, free: 156.9 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.8490239509847]