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.001323/0.001323, allocations: 114 kB / 20.44 MB, free: 1.469 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.00143/0.00143, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.444/1.444, 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.3345/0.3345, allocations: 46.92 MB / 360.8 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 179] 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.002253/0.002253, allocations: 79.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3949, allocations: 66.09 MB / 0.5608 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2029/0.5978, allocations: 151.2 MB / 0.7084 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009247/0.6071, allocations: 5.642 MB / 0.7139 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.6079, allocations: 27.75 kB / 0.7139 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.609, allocations: 333.9 kB / 0.7142 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.6118, allocations: 0.894 MB / 0.7151 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.6149, allocations: 1.043 MB / 0.7161 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.618, allocations: 1.836 MB / 0.7179 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008737/0.6189, allocations: 393.6 kB / 0.7183 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.6206, allocations: 0.7824 MB / 0.7191 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.6219, allocations: 0.7553 MB / 0.7198 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.622, allocations: 64 kB / 0.7198 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.6234, allocations: 0.5926 MB / 0.7204 GB, free: 200 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.6237, allocations: 271.2 kB / 0.7207 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.6242, allocations: 398.2 kB / 0.7211 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.626, allocations: 1.179 MB / 0.7222 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.626, allocations: 0 / 0.7222 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.626, allocations: 0 / 0.7222 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.626, allocations: 0 / 0.7222 GB, free: 14.36 MB / 0.5606 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.002228/0.6282, allocations: 0.9989 MB / 0.7232 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6283, allocations: 8.031 kB / 0.7232 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.6284, allocations: 98.69 kB / 0.7233 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.6288, allocations: 100.4 kB / 0.7234 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/0.6297, allocations: 478.8 kB / 0.7238 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.6299, allocations: 160.3 kB / 0.724 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.63, allocations: 56.06 kB / 0.7241 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.6313, allocations: 0.811 MB / 0.7248 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6313, allocations: 4 kB / 0.7249 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.6313, allocations: 24 kB / 0.7249 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.6314, allocations: 32.98 kB / 0.7249 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.6325, allocations: 0.6595 MB / 0.7255 GB, free: 10.79 MB / 0.5606 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.005117/0.6376, allocations: 3.904 MB / 0.7294 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.6384, allocations: 418.4 kB / 0.7298 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.6387, allocations: 193.4 kB / 0.7299 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.639, allocations: 64.27 kB / 0.73 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.6391, allocations: 46.83 kB / 0.7301 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.654e-06/0.6391, allocations: 0 / 0.7301 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003172/0.6422, allocations: 1.398 MB / 0.7314 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.6423, allocations: 132.5 kB / 0.7315 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.643, allocations: 0.5694 MB / 0.7321 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.6431, allocations: 37.64 kB / 0.7321 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.6434, allocations: 363.8 kB / 0.7325 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.6435, allocations: 166.6 kB / 0.7326 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.6437, allocations: 138.6 kB / 0.7328 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6439, allocations: 370.8 kB / 0.7331 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.6443, allocations: 225.9 kB / 0.7333 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.6449, allocations: 0.5131 MB / 0.7338 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6459, allocations: 0.7562 MB / 0.7346 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6459, allocations: 4 kB / 0.7346 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2757/0.9217, allocations: 0.9048 MB / 0.7355 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.9217, allocations: 9.938 kB / 0.7355 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.9217, allocations: 13.72 kB / 0.7355 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.9235, allocations: 278.6 kB / 0.7358 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.924, allocations: 121.2 kB / 0.7359 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.9252, allocations: 0.8889 MB / 0.7367 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.9258, allocations: 24.52 kB / 0.7368 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.9259, allocations: 38.72 kB / 0.7368 GB, free: 174 MB / 0.5606 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.0004163/0.9263, allocations: 254.9 kB / 0.737 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.9265, allocations: 68.75 kB / 0.7371 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.928, allocations: 0.6983 MB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.928, allocations: 5.469 kB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.928, allocations: 3.75 kB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.928, allocations: 11.45 kB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.9299, allocations: 1.309 MB / 0.7391 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.93, allocations: 4.5 kB / 0.7391 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.9309, allocations: 200.8 kB / 0.7393 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.931, allocations: 27.05 kB / 0.7393 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.931, allocations: 9.312 kB / 0.7393 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.9324, allocations: 2.677 MB / 0.7419 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9324, allocations: 7.906 kB / 0.7419 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.9335, allocations: 0.9308 MB / 0.7428 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.9338, allocations: 133.1 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.9339, allocations: 17.47 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.9345, allocations: 21.62 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.9345, allocations: 34.38 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.9346, allocations: 22.56 kB / 0.7431 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004107/0.935, allocations: 433.2 kB / 0.7435 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.935, allocations: 0 / 0.7435 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007673/0.9358, allocations: 223 kB / 0.7437 GB, free: 169.6 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.00159/0.9373, allocations: 1.634 MB / 0.7453 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.9386, allocations: 0.5865 MB / 0.7459 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9386, allocations: 2.188 kB / 0.7459 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.9395, allocations: 438.3 kB / 0.7463 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.9409, allocations: 380.8 kB / 0.7466 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007469/0.9484, allocations: 6.488 MB / 0.753 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.9488, allocations: 0.946 MB / 0.7539 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000812/0.9496, allocations: 200.3 kB / 0.7541 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.95, allocations: 239.3 kB / 0.7543 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.95, allocations: 0 / 0.7543 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05693/1.007, allocations: 23.18 MB / 0.777 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.13, allocations: 11.66 kB / 0.777 GB, free: 136.2 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: 18.336037635002867]