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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002303/0.002303, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2392/0.2392, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.002337/0.002337, allocations: 67.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3525, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2419/0.5944, allocations: 153.9 MB / 0.7114 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007865/0.6022, allocations: 4.93 MB / 0.7162 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.603, allocations: 27.75 kB / 0.7162 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.604, allocations: 306 kB / 0.7165 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.6076, allocations: 1.285 MB / 0.7177 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/0.6104, allocations: 0.9851 MB / 0.7187 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002647/0.6131, allocations: 1.864 MB / 0.7205 GB, free: 308 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.6138, allocations: 397.6 kB / 0.7209 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.6164, allocations: 1.117 MB / 0.722 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.6178, allocations: 0.6851 MB / 0.7227 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.6179, allocations: 68 kB / 0.7227 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.6194, allocations: 0.5501 MB / 0.7233 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.6198, allocations: 267.2 kB / 0.7235 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.6203, allocations: 338.6 kB / 0.7238 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.6225, allocations: 1.297 MB / 0.7251 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6225, allocations: 0 / 0.7251 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6225, allocations: 0 / 0.7251 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.6225, allocations: 3.938 kB / 0.7251 GB, free: 11.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.002547/0.6251, allocations: 1.049 MB / 0.7261 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.6251, allocations: 8.031 kB / 0.7261 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.626, allocations: 143.4 kB / 0.7263 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.627, allocations: 481.3 kB / 0.7267 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.6272, allocations: 159.8 kB / 0.7269 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6274, allocations: 51.98 kB / 0.7269 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.629, allocations: 1.136 MB / 0.7281 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.629, allocations: 7.938 kB / 0.7281 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.6291, allocations: 23.98 kB / 0.7281 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.5e-05/0.6291, allocations: 44.92 kB / 0.7281 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6302, allocations: 0.6205 MB / 0.7287 GB, free: 7.641 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.00469/0.6349, allocations: 3.208 MB / 0.7319 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.6356, allocations: 339.6 kB / 0.7322 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.6359, allocations: 165.3 kB / 0.7323 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.636, allocations: 12.27 kB / 0.7324 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.636, allocations: 38.84 kB / 0.7324 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.047e-06/0.636, allocations: 3.984 kB / 0.7324 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00589/0.6419, allocations: 1.594 MB / 0.734 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.642, allocations: 136.5 kB / 0.7341 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.6427, allocations: 0.5377 MB / 0.7346 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.6427, allocations: 37.7 kB / 0.7346 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.6431, allocations: 384.2 kB / 0.735 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6433, allocations: 146.8 kB / 0.7352 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.6435, allocations: 158.6 kB / 0.7353 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002269/0.6437, allocations: 370.8 kB / 0.7357 GB, free: 296 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.6441, allocations: 201.9 kB / 0.7358 GB, free: 92 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2654/0.9095, allocations: 0.5883 MB / 0.7364 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.9108, allocations: 0.7501 MB / 0.7372 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.9108, allocations: 3.094 kB / 0.7372 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00185/0.9127, allocations: 0.8689 MB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.9127, allocations: 12.61 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.9127, allocations: 10.64 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.9142, allocations: 315.2 kB / 0.7383 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.9146, allocations: 127.1 kB / 0.7385 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/0.9156, allocations: 0.9276 MB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.9161, allocations: 29.45 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.9162, allocations: 65.09 kB / 0.7394 GB, free: 173.6 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.000327/0.9165, allocations: 259.7 kB / 0.7397 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.9166, allocations: 64.83 kB / 0.7398 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.918, allocations: 0.8563 MB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.918, allocations: 3.5 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.918, allocations: 0.6094 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.918, allocations: 5.234 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.9196, allocations: 1.083 MB / 0.7417 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9196, allocations: 0 / 0.7417 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000954/0.9206, allocations: 216.1 kB / 0.7419 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.965e-05/0.9207, allocations: 24.64 kB / 0.7419 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.9207, allocations: 23.55 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.922, allocations: 2.628 MB / 0.7445 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.922, allocations: 3.938 kB / 0.7445 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.923, allocations: 0.8158 MB / 0.7453 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.9232, allocations: 102 kB / 0.7454 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.9233, allocations: 15.94 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.9236, allocations: 16.27 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.9237, allocations: 43.91 kB / 0.7454 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.9237, allocations: 43.75 kB / 0.7455 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003013/0.924, allocations: 362.2 kB / 0.7458 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.924, allocations: 0 / 0.7458 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007276/0.9248, allocations: 259.1 kB / 0.7461 GB, free: 168.3 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.0005159/0.9253, allocations: 273.9 kB / 0.7463 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009013/0.9262, allocations: 0.5264 MB / 0.7469 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9262, allocations: 0 / 0.7469 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.927, allocations: 412.5 kB / 0.7473 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.9283, allocations: 309.8 kB / 0.7475 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.9299, allocations: 1.331 MB / 0.7488 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.9301, allocations: 340.2 kB / 0.7492 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007476/0.9308, allocations: 447.9 kB / 0.7496 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.9311, allocations: 111.4 kB / 0.7497 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.9311, allocations: 0 / 0.7497 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02004/0.9511, allocations: 16.7 MB / 0.766 GB, free: 148.4 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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: 6.486887440085411]