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.001386/0.001386, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00162/0.00162, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.486/1.486, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.236/0.236, allocations: 46.95 MB / 361.6 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 79.88 kB / 0.4974 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3563, allocations: 66.08 MB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2125/0.5689, allocations: 153.9 MB / 0.7122 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008923/0.5778, allocations: 4.922 MB / 0.717 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008955/0.5787, allocations: 27.75 kB / 0.717 GB, free: 4.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.58, allocations: 310 kB / 0.7173 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.5845, allocations: 1.289 MB / 0.7186 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.5875, allocations: 0.9875 MB / 0.7195 GB, free: 1.957 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.5904, allocations: 1.86 MB / 0.7214 GB, free: 92 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007498/0.5912, allocations: 393.6 kB / 0.7217 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.5939, allocations: 1.121 MB / 0.7228 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.5952, allocations: 0.689 MB / 0.7235 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.5954, allocations: 60 kB / 0.7236 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5969, allocations: 0.5462 MB / 0.7241 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.5972, allocations: 275.2 kB / 0.7243 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004705/0.5977, allocations: 338.6 kB / 0.7247 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5998, allocations: 1.3 MB / 0.7259 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5998, allocations: 0 / 0.7259 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5998, allocations: 0 / 0.7259 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.5998, allocations: 0 / 0.7259 GB, free: 11.38 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.6022, allocations: 1.038 MB / 0.727 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6023, allocations: 15.95 kB / 0.727 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.6031, allocations: 147.4 kB / 0.7271 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009793/0.6041, allocations: 481.3 kB / 0.7276 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.6043, allocations: 159.8 kB / 0.7277 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6044, allocations: 48 kB / 0.7278 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.6059, allocations: 1.144 MB / 0.7289 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.6059, allocations: 0 / 0.7289 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.606, allocations: 31.92 kB / 0.7289 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.6061, allocations: 40.92 kB / 0.729 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.6071, allocations: 0.6166 MB / 0.7296 GB, free: 7.426 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.004534/0.6117, allocations: 3.211 MB / 0.7327 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.6123, allocations: 347.7 kB / 0.733 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.6126, allocations: 153.3 kB / 0.7332 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.6127, allocations: 20.27 kB / 0.7332 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.6127, allocations: 38.84 kB / 0.7332 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.6127, allocations: 0 / 0.7332 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005836/0.6185, allocations: 1.598 MB / 0.7348 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.6186, allocations: 136.5 kB / 0.7349 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.6194, allocations: 0.5377 MB / 0.7354 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.6194, allocations: 33.7 kB / 0.7355 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.6198, allocations: 384.2 kB / 0.7358 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.6199, allocations: 146.8 kB / 0.736 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.6202, allocations: 158.6 kB / 0.7361 GB, free: 460 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.6204, allocations: 366.8 kB / 0.7365 GB, free: 84 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2848/0.9051, allocations: 199.9 kB / 0.7367 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.9059, allocations: 0.5886 MB / 0.7372 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.907, allocations: 0.7509 MB / 0.738 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.907, allocations: 3.125 kB / 0.738 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001799/0.9088, allocations: 0.8663 MB / 0.7388 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.9088, allocations: 9.406 kB / 0.7388 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.9088, allocations: 18.72 kB / 0.7389 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.9102, allocations: 311.5 kB / 0.7392 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.9106, allocations: 128.2 kB / 0.7393 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009114/0.9116, allocations: 0.9271 MB / 0.7402 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.912, allocations: 29.72 kB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.9121, allocations: 71.19 kB / 0.7403 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.0003189/0.9124, allocations: 248.9 kB / 0.7405 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.9125, allocations: 65.06 kB / 0.7406 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.9139, allocations: 0.8532 MB / 0.7414 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.9139, allocations: 7.562 kB / 0.7414 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9139, allocations: 0 / 0.7414 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.9139, allocations: 6.141 kB / 0.7414 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.9155, allocations: 1.088 MB / 0.7425 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.9155, allocations: 3.938 kB / 0.7425 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.9164, allocations: 212.8 kB / 0.7427 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.9165, allocations: 23.53 kB / 0.7427 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.9165, allocations: 22.09 kB / 0.7427 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.9178, allocations: 2.625 MB / 0.7453 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9178, allocations: 7.344 kB / 0.7453 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.9187, allocations: 0.8186 MB / 0.7461 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.9189, allocations: 102.4 kB / 0.7462 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.919, allocations: 19.64 kB / 0.7462 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.9194, allocations: 12 kB / 0.7462 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.9194, allocations: 38.19 kB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.9195, allocations: 43.7 kB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003114/0.9198, allocations: 366.4 kB / 0.7467 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9198, allocations: 0 / 0.7467 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007786/0.9206, allocations: 254.4 kB / 0.7469 GB, free: 168 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.0005547/0.9211, allocations: 278.8 kB / 0.7472 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009331/0.9221, allocations: 0.529 MB / 0.7477 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9221, allocations: 4 kB / 0.7477 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.9229, allocations: 402.3 kB / 0.7481 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.9241, allocations: 309.1 kB / 0.7484 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.9259, allocations: 1.375 MB / 0.7497 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.9261, allocations: 332.2 kB / 0.75 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.9264, allocations: 125.7 kB / 0.7501 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.9264, allocations: 0 / 0.7501 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01595/0.9424, allocations: 16.09 MB / 0.7659 GB, free: 148.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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: 11.02302260324359]