Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.00135/0.00135, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001993/0.001993, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 7.77 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.2169/0.2169, allocations: 46.94 MB / 361.6 MB, free: 3.914 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.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 75.88 kB / 0.4969 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3078, allocations: 66.09 MB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1883/0.4961, allocations: 153.7 MB / 0.7116 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007408/0.5035, allocations: 4.918 MB / 0.7164 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006762/0.5042, allocations: 27.75 kB / 0.7164 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5052, allocations: 313.9 kB / 0.7167 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.5086, allocations: 1.286 MB / 0.718 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.511, allocations: 0.9913 MB / 0.719 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.5136, allocations: 1.879 MB / 0.7208 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000816/0.5144, allocations: 393.6 kB / 0.7212 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.5174, allocations: 1.117 MB / 0.7223 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.519, allocations: 0.7008 MB / 0.7229 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.5193, allocations: 64 kB / 0.723 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.5208, allocations: 0.5657 MB / 0.7236 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.5213, allocations: 275.2 kB / 0.7238 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.522, allocations: 330.6 kB / 0.7241 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.5242, allocations: 1.312 MB / 0.7254 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5242, allocations: 4 kB / 0.7254 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5242, allocations: 0 / 0.7254 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.456e-05/0.5243, allocations: 0 / 0.7254 GB, free: 11.49 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.002936/0.5272, allocations: 1.038 MB / 0.7264 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5272, allocations: 8.031 kB / 0.7264 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.19e-05/0.5273, allocations: 13 kB / 0.7265 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.5275, allocations: 102.5 kB / 0.7266 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.5284, allocations: 143.4 kB / 0.7267 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.5294, allocations: 477.4 kB / 0.7271 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.5296, allocations: 151.8 kB / 0.7273 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5297, allocations: 51.98 kB / 0.7273 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.5313, allocations: 1.14 MB / 0.7285 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5313, allocations: 3.938 kB / 0.7285 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.5314, allocations: 27.94 kB / 0.7285 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-05/0.5314, allocations: 40.98 kB / 0.7285 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.5326, allocations: 0.6166 MB / 0.7291 GB, free: 7.445 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.004536/0.5371, allocations: 3.304 MB / 0.7324 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.5377, allocations: 343.7 kB / 0.7327 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.538, allocations: 161.3 kB / 0.7328 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.5381, allocations: 12.27 kB / 0.7328 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.5381, allocations: 42.83 kB / 0.7329 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.724e-06/0.5381, allocations: 4 kB / 0.7329 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005522/0.5436, allocations: 1.601 MB / 0.7345 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.5437, allocations: 136.5 kB / 0.7346 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.5445, allocations: 0.6172 MB / 0.7352 GB, free: 1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.5445, allocations: 37.7 kB / 0.7352 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.5448, allocations: 383.8 kB / 0.7356 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.5449, allocations: 146.7 kB / 0.7357 GB, free: 444 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.5452, allocations: 158.6 kB / 0.7359 GB, free: 280 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2336/0.7788, allocations: 374.8 kB / 0.7362 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.7795, allocations: 200.6 kB / 0.7364 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.7801, allocations: 0.5878 MB / 0.737 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.7811, allocations: 0.7549 MB / 0.7377 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.7811, allocations: 2.75 kB / 0.7377 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00175/0.7829, allocations: 0.8801 MB / 0.7386 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7829, allocations: 9.562 kB / 0.7386 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.7829, allocations: 14.33 kB / 0.7386 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.7843, allocations: 311.3 kB / 0.7389 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.7847, allocations: 122.8 kB / 0.739 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/0.7856, allocations: 0.9222 MB / 0.7399 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.7861, allocations: 29.61 kB / 0.74 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.7862, allocations: 72.66 kB / 0.74 GB, free: 173.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.7865, allocations: 249.4 kB / 0.7403 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.7866, allocations: 72.84 kB / 0.7403 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.788, allocations: 0.8577 MB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.788, allocations: 6.156 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.788, allocations: 0.9375 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.788, allocations: 1.828 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.7895, allocations: 1.14 MB / 0.7423 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7895, allocations: 7.938 kB / 0.7423 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.7905, allocations: 209 kB / 0.7425 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.346e-05/0.7906, allocations: 26.58 kB / 0.7425 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.7906, allocations: 18.02 kB / 0.7426 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.7919, allocations: 2.671 MB / 0.7452 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.7919, allocations: 4.031 kB / 0.7452 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.7929, allocations: 0.8207 MB / 0.746 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.7931, allocations: 118.2 kB / 0.7461 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.7932, allocations: 15.69 kB / 0.7461 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.7935, allocations: 15.75 kB / 0.7461 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.7936, allocations: 45.02 kB / 0.7462 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.7937, allocations: 51.11 kB / 0.7462 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003754/0.794, allocations: 439 kB / 0.7466 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.794, allocations: 0 / 0.7466 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007746/0.7948, allocations: 255.6 kB / 0.7469 GB, free: 167.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001522/0.7963, allocations: 1.53 MB / 0.7484 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009038/0.7972, allocations: 0.5284 MB / 0.7489 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7972, allocations: 0 / 0.7489 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008423/0.7981, allocations: 415.8 kB / 0.7493 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.7995, allocations: 368.2 kB / 0.7496 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006001/0.8055, allocations: 6.338 MB / 0.7558 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.8057, allocations: 336.4 kB / 0.7561 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.8065, allocations: 463.3 kB / 0.7566 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.8069, allocations: 283.3 kB / 0.7568 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.8069, allocations: 3.938 kB / 0.7568 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04849/0.8554, allocations: 25.42 MB / 0.7817 GB, free: 132 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.71, allocations: 7.922 kB / 0.7817 GB, free: 132 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 17.97313979594037]