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.001778/0.001778, allocations: 116.5 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.002176/0.002176, allocations: 212.5 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.482/1.482, 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.2276/0.2276, allocations: 46.92 MB / 360.8 MB, free: 4.199 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.002314/0.002314, allocations: 75.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3674, allocations: 66.08 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1894/0.5568, allocations: 151.2 MB / 0.7084 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009318/0.5661, allocations: 5.642 MB / 0.7139 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/0.5671, allocations: 27.75 kB / 0.7139 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.5685, allocations: 341.8 kB / 0.7142 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.571, allocations: 0.8863 MB / 0.7151 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.5741, allocations: 1.056 MB / 0.7161 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002887/0.577, allocations: 1.828 MB / 0.7179 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/0.578, allocations: 393.6 kB / 0.7183 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.5799, allocations: 0.7825 MB / 0.719 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.5813, allocations: 0.7631 MB / 0.7198 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.5814, allocations: 60 kB / 0.7198 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.5828, allocations: 0.5927 MB / 0.7204 GB, free: 196 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.5831, allocations: 271.1 kB / 0.7207 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.5835, allocations: 394.2 kB / 0.7211 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.5855, allocations: 1.183 MB / 0.7222 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5855, allocations: 0 / 0.7222 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5855, allocations: 0 / 0.7222 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.5855, allocations: 0 / 0.7222 GB, free: 14.35 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.002437/0.588, allocations: 0.9989 MB / 0.7232 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.588, allocations: 8.031 kB / 0.7232 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.5882, allocations: 98.64 kB / 0.7233 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.5886, allocations: 100.4 kB / 0.7234 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/0.5895, allocations: 474.8 kB / 0.7238 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.5897, allocations: 160.3 kB / 0.724 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.743e-05/0.5898, allocations: 48.12 kB / 0.724 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5911, allocations: 0.8149 MB / 0.7248 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.5911, allocations: 15.88 kB / 0.7248 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.5912, allocations: 19.98 kB / 0.7249 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.5912, allocations: 40.98 kB / 0.7249 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.5923, allocations: 0.6517 MB / 0.7255 GB, free: 10.78 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.005009/0.5973, allocations: 3.908 MB / 0.7294 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.5982, allocations: 418.5 kB / 0.7298 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.5985, allocations: 185.4 kB / 0.7299 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.5988, allocations: 68.25 kB / 0.73 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.5989, allocations: 38.89 kB / 0.73 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.5989, allocations: 0 / 0.73 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.0033/0.6022, allocations: 1.402 MB / 0.7314 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.6023, allocations: 132.5 kB / 0.7315 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.603, allocations: 0.5733 MB / 0.7321 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.603, allocations: 33.7 kB / 0.7321 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6033, allocations: 363.8 kB / 0.7325 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.6035, allocations: 170.6 kB / 0.7326 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.6037, allocations: 138.6 kB / 0.7328 GB, free: 3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.6039, allocations: 374.8 kB / 0.7331 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.6043, allocations: 217.9 kB / 0.7333 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.6049, allocations: 0.5169 MB / 0.7338 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.606, allocations: 0.7601 MB / 0.7346 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.606, allocations: 4 kB / 0.7346 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.3065/0.9125, allocations: 0.9041 MB / 0.7355 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.9126, allocations: 9 kB / 0.7355 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/0.9126, allocations: 9.562 kB / 0.7355 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.9145, allocations: 281.8 kB / 0.7358 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.9151, allocations: 125.3 kB / 0.7359 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.9163, allocations: 0.8865 MB / 0.7367 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.917, allocations: 32.39 kB / 0.7368 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/0.9171, allocations: 33.77 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.0004393/0.9175, allocations: 254.7 kB / 0.737 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.9177, allocations: 69.22 kB / 0.7371 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.9192, allocations: 0.6922 MB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.9192, allocations: 4.672 kB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.9193, allocations: 7.719 kB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9193, allocations: 2.625 kB / 0.7378 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.9212, allocations: 1.312 MB / 0.7391 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.9212, allocations: 3.969 kB / 0.7391 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.9222, allocations: 197.8 kB / 0.7393 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.078e-05/0.9222, allocations: 27.62 kB / 0.7393 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.9223, allocations: 12.38 kB / 0.7393 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.9237, allocations: 2.682 MB / 0.7419 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9237, allocations: 7.906 kB / 0.7419 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.9248, allocations: 0.9346 MB / 0.7429 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.925, allocations: 130.3 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.9251, allocations: 19.16 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.9255, allocations: 18.81 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.9256, allocations: 32.64 kB / 0.743 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.9256, allocations: 26.22 kB / 0.7431 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004214/0.926, allocations: 427.8 kB / 0.7435 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.926, allocations: 0 / 0.7435 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007714/0.9268, allocations: 227.1 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.001535/0.9283, allocations: 1.627 MB / 0.7453 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.9294, allocations: 0.5919 MB / 0.7459 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9294, allocations: 2.188 kB / 0.7459 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.9302, allocations: 441.4 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.00145/0.9317, allocations: 379.9 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.007423/0.9391, allocations: 6.483 MB / 0.753 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.9395, allocations: 0.946 MB / 0.7539 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.9401, allocations: 205.5 kB / 0.7541 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.9404, allocations: 239.2 kB / 0.7543 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.9404, allocations: 0 / 0.7543 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.9966, allocations: 23.18 MB / 0.777 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.08, allocations: 14.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.28762447880581]