Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002284/0.002284, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 46.94 MB / 361.6 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.89 kB / 0.4974 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 66.02 MB / 0.5619 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2148/0.5615, allocations: 178.1 MB / 0.7358 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3274/0.889, allocations: 5.362 MB / 0.741 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.8896, allocations: 31.41 kB / 0.7411 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008996/0.8905, allocations: 316.8 kB / 0.7414 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.8936, allocations: 1.295 MB / 0.7426 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.8961, allocations: 0.9811 MB / 0.7436 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002105/0.8982, allocations: 1.884 MB / 0.7454 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.8987, allocations: 392 kB / 0.7458 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.9008, allocations: 1.121 MB / 0.7469 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008974/0.9016, allocations: 0.7038 MB / 0.7476 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.9017, allocations: 62.28 kB / 0.7477 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.903, allocations: 0.6389 MB / 0.7483 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.9032, allocations: 270.4 kB / 0.7485 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.9036, allocations: 396.2 kB / 0.7489 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.905, allocations: 1.306 MB / 0.7502 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.905, allocations: 0 / 0.7502 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.905, allocations: 0.9688 kB / 0.7502 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9051, allocations: 3.188 kB / 0.7502 GB, free: 1.59 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.002084/0.9071, allocations: 1.048 MB / 0.7512 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.9072, allocations: 9 kB / 0.7512 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.9079, allocations: 150 kB / 0.7514 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.9087, allocations: 475.1 kB / 0.7518 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.9089, allocations: 158 kB / 0.752 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.909, allocations: 47.83 kB / 0.752 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.91, allocations: 0.8169 MB / 0.7528 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.91, allocations: 7.141 kB / 0.7528 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.9101, allocations: 22.5 kB / 0.7528 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.9101, allocations: 38.17 kB / 0.7529 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008475/0.911, allocations: 0.6217 MB / 0.7535 GB, free: 16.46 MB / 0.5762 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.004535/0.9155, allocations: 3.884 MB / 0.7573 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.916, allocations: 347.6 kB / 0.7576 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.9162, allocations: 165.8 kB / 0.7578 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.949e-05/0.9163, allocations: 15.53 kB / 0.7578 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.9163, allocations: 41.12 kB / 0.7578 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.9163, allocations: 0 / 0.7578 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005036/0.9214, allocations: 1.602 MB / 0.7594 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.9215, allocations: 132.5 kB / 0.7595 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.9221, allocations: 0.6138 MB / 0.7601 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.9221, allocations: 35.39 kB / 0.7601 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.9224, allocations: 380.3 kB / 0.7605 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-05/0.9225, allocations: 152.5 kB / 0.7607 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.9227, allocations: 154.8 kB / 0.7608 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.9229, allocations: 378.7 kB / 0.7612 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.9232, allocations: 203.9 kB / 0.7614 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.9238, allocations: 0.5144 MB / 0.7619 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.9247, allocations: 0.7534 MB / 0.7626 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.9247, allocations: 6.562 kB / 0.7626 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001272/0.926, allocations: 0.8792 MB / 0.7635 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.926, allocations: 11.06 kB / 0.7635 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.926, allocations: 8.656 kB / 0.7635 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.9273, allocations: 323.2 kB / 0.7638 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.9277, allocations: 122.4 kB / 0.7639 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.9288, allocations: 0.9392 MB / 0.7648 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.9292, allocations: 27.53 kB / 0.7648 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.9293, allocations: 66.2 kB / 0.7649 GB, free: 11.06 MB / 0.5762 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.0003636/0.9297, allocations: 247.7 kB / 0.7651 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.9298, allocations: 68.17 kB / 0.7652 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.9312, allocations: 0.8649 MB / 0.7661 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9312, allocations: 5.688 kB / 0.7661 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.9312, allocations: 0 / 0.7661 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9312, allocations: 2.578 kB / 0.7661 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.933, allocations: 1.209 MB / 0.7672 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.933, allocations: 3.625 kB / 0.7672 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009621/0.9339, allocations: 206.1 kB / 0.7674 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.991e-05/0.934, allocations: 29.44 kB / 0.7675 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.9341, allocations: 22.31 kB / 0.7675 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.9363, allocations: 2.673 MB / 0.7701 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9363, allocations: 3.094 kB / 0.7701 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.9374, allocations: 0.8152 MB / 0.7709 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.9377, allocations: 122.6 kB / 0.771 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.9378, allocations: 6.188 kB / 0.771 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.9382, allocations: 19.36 kB / 0.771 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.9383, allocations: 39.58 kB / 0.7711 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.9383, allocations: 47.58 kB / 0.7711 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004906/0.9388, allocations: 439.6 kB / 0.7715 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9388, allocations: 3.188 kB / 0.7716 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008841/0.9397, allocations: 257.3 kB / 0.7718 GB, free: 7.586 MB / 0.5762 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.0005909/0.9403, allocations: 281.8 kB / 0.7721 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009858/0.9413, allocations: 0.5373 MB / 0.7726 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9413, allocations: 0 / 0.7726 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.9422, allocations: 397.2 kB / 0.773 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.9437, allocations: 367.6 kB / 0.7733 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.9459, allocations: 1.406 MB / 0.7747 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.9464, allocations: 0.9294 MB / 0.7756 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.9468, allocations: 129.4 kB / 0.7757 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.9468, allocations: 0 / 0.7757 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.02266/0.9694, allocations: 16.66 MB / 0.792 GB, free: 1.93 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 10.877389336004853]