Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001858/0.001858, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.00212/0.00212, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.91 MB / 359.6 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 63.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3473, allocations: 65.47 MB / 0.5583 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.229/0.5764, allocations: 178.1 MB / 0.7322 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4071/0.9835, allocations: 5.365 MB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.9845, allocations: 32 kB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.9857, allocations: 323.5 kB / 0.7378 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.9898, allocations: 1.291 MB / 0.739 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.9927, allocations: 0.9898 MB / 0.74 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.996, allocations: 1.873 MB / 0.7418 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.9967, allocations: 393.7 kB / 0.7422 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.9993, allocations: 1.119 MB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/1, allocations: 0.7065 MB / 0.744 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/1.001, allocations: 57.94 kB / 0.744 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/1.002, allocations: 0.6447 MB / 0.7447 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/1.002, allocations: 273.6 kB / 0.7449 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004921/1.003, allocations: 402.3 kB / 0.7453 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/1.005, allocations: 1.307 MB / 0.7466 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.005, allocations: 0 / 0.7466 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/1.005, allocations: 0.875 kB / 0.7466 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.005, allocations: 0 / 0.7466 GB, free: 1.684 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.002479/1.007, allocations: 1.048 MB / 0.7476 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.007, allocations: 10.78 kB / 0.7476 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008326/1.008, allocations: 140.2 kB / 0.7477 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/1.009, allocations: 480.6 kB / 0.7482 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.009, allocations: 157.9 kB / 0.7484 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/1.009, allocations: 47.09 kB / 0.7484 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.01, allocations: 0.8176 MB / 0.7492 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.011, allocations: 5.188 kB / 0.7492 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/1.011, allocations: 26.52 kB / 0.7492 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/1.011, allocations: 40.58 kB / 0.7493 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/1.012, allocations: 0.6235 MB / 0.7499 GB, free: 16.55 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.004965/1.017, allocations: 3.881 MB / 0.7537 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/1.017, allocations: 343.7 kB / 0.754 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/1.017, allocations: 161 kB / 0.7541 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.017, allocations: 21.3 kB / 0.7542 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/1.018, allocations: 41.97 kB / 0.7542 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.525e-06/1.018, allocations: 0.9062 kB / 0.7542 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005726/1.023, allocations: 1.602 MB / 0.7558 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.023, allocations: 139 kB / 0.7559 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007729/1.024, allocations: 0.611 MB / 0.7565 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/1.024, allocations: 34.2 kB / 0.7565 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/1.024, allocations: 377.6 kB / 0.7569 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.025, allocations: 155.6 kB / 0.757 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.025, allocations: 159.2 kB / 0.7572 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.025, allocations: 375.1 kB / 0.7575 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/1.025, allocations: 204.1 kB / 0.7577 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/1.026, allocations: 0.5126 MB / 0.7582 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.027, allocations: 0.7519 MB / 0.759 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/1.027, allocations: 4.219 kB / 0.759 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001545/1.029, allocations: 0.8818 MB / 0.7598 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.029, allocations: 10.91 kB / 0.7599 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/1.029, allocations: 11.06 kB / 0.7599 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/1.03, allocations: 311.7 kB / 0.7602 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/1.031, allocations: 123.3 kB / 0.7603 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.032, allocations: 0.9341 MB / 0.7612 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/1.032, allocations: 30.59 kB / 0.7612 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/1.032, allocations: 69.94 kB / 0.7613 GB, free: 11.16 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.0005232/1.033, allocations: 243.6 kB / 0.7615 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.033, allocations: 72.84 kB / 0.7616 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/1.035, allocations: 0.8598 MB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.035, allocations: 9.875 kB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.035, allocations: 0.7188 kB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.035, allocations: 7.094 kB / 0.7624 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/1.037, allocations: 1.21 MB / 0.7636 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.037, allocations: 0.875 kB / 0.7636 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.038, allocations: 209.7 kB / 0.7638 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/1.038, allocations: 21.92 kB / 0.7638 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/1.038, allocations: 25.58 kB / 0.7639 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/1.041, allocations: 2.671 MB / 0.7665 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.041, allocations: 1.938 kB / 0.7665 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/1.042, allocations: 0.8197 MB / 0.7673 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/1.042, allocations: 118.9 kB / 0.7674 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.042, allocations: 5.656 kB / 0.7674 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/1.043, allocations: 23.28 kB / 0.7674 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.043, allocations: 43.06 kB / 0.7675 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/1.043, allocations: 44.77 kB / 0.7675 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000574/1.044, allocations: 440.6 kB / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.044, allocations: 1.094 kB / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/1.045, allocations: 260.8 kB / 0.7682 GB, free: 7.684 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.0006693/1.045, allocations: 279.1 kB / 0.7684 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.046, allocations: 0.5335 MB / 0.769 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.046, allocations: 4 kB / 0.769 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/1.047, allocations: 394.4 kB / 0.7693 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.049, allocations: 371.9 kB / 0.7697 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/1.052, allocations: 1.405 MB / 0.7711 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/1.052, allocations: 0.9276 MB / 0.772 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1.053, allocations: 127.4 kB / 0.7721 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/1.053, allocations: 1 kB / 0.7721 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of Templates: time 0.02466/1.077, allocations: 16.65 MB / 0.7884 GB, free: 2.48 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 11.337209354853258]