Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001676/0.001676, allocations: 76.58 kB / 19.93 MB, free: 1.781 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.001684/0.001684, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2319/0.2319, allocations: 32.38 MB / 269.6 MB, free: 4.762 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.945e-05/4.14e-05, allocations: 2.281 kB / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.598/0.598, allocations: 155.6 MB / 0.5498 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.612, allocations: 7.523 MB / 0.5571 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.6131, allocations: 31.75 kB / 0.5572 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.6145, allocations: 313.8 kB / 0.5575 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005946/0.6205, allocations: 1.556 MB / 0.559 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.6247, allocations: 1.203 MB / 0.5602 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.6284, allocations: 1.886 MB / 0.562 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.6296, allocations: 402 kB / 0.5624 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005748/0.6354, allocations: 1.491 MB / 0.5638 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.6373, allocations: 0.6389 MB / 0.5645 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.6377, allocations: 60 kB / 0.5645 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.6405, allocations: 0.7453 MB / 0.5652 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.6411, allocations: 287.1 kB / 0.5655 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009593/0.6421, allocations: 291.4 kB / 0.5658 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.6461, allocations: 1.535 MB / 0.5673 GB, free: 3.348 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6461, allocations: 0 / 0.5673 GB, free: 3.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6461, allocations: 0 / 0.5673 GB, free: 3.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.39e-05/0.6462, allocations: 0 / 0.5673 GB, free: 3.348 MB / 446.1 MB 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.004491/0.6507, allocations: 1.069 MB / 0.5683 GB, free: 2.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.6508, allocations: 11.97 kB / 0.5684 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.6518, allocations: 143.5 kB / 0.5685 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.6529, allocations: 478.5 kB / 0.5689 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.6531, allocations: 155.8 kB / 0.5691 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.6533, allocations: 59.88 kB / 0.5692 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.6551, allocations: 1.161 MB / 0.5703 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.6551, allocations: 9.562 kB / 0.5703 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.6552, allocations: 24 kB / 0.5703 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.701e-05/0.6553, allocations: 36.98 kB / 0.5704 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.6565, allocations: 0.6166 MB / 0.571 GB, free: 15.36 MB / 462.1 MB 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.005029/0.6615, allocations: 3.217 MB / 0.5741 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.6621, allocations: 343.6 kB / 0.5744 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.6624, allocations: 157.3 kB / 0.5746 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.6628, allocations: 138.7 kB / 0.5747 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.6629, allocations: 42.83 kB / 0.5747 GB, free: 11.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.175e-06/0.6629, allocations: 0 / 0.5747 GB, free: 11.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.006105/0.669, allocations: 1.592 MB / 0.5763 GB, free: 9.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6691, allocations: 132.5 kB / 0.5764 GB, free: 9.535 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.6698, allocations: 0.5338 MB / 0.5769 GB, free: 8.992 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.6699, allocations: 37.7 kB / 0.577 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.6702, allocations: 380.2 kB / 0.5773 GB, free: 8.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.6703, allocations: 150.7 kB / 0.5775 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.6706, allocations: 154.6 kB / 0.5776 GB, free: 8.266 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.6708, allocations: 370.7 kB / 0.578 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.6712, allocations: 205.9 kB / 0.5782 GB, free: 7.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007929/0.672, allocations: 0.5958 MB / 0.5788 GB, free: 6.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6731, allocations: 0.7446 MB / 0.5795 GB, free: 6.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6731, allocations: 0 / 0.5795 GB, free: 6.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001595/0.6747, allocations: 0.8686 MB / 0.5803 GB, free: 5.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6748, allocations: 8 kB / 0.5804 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.6748, allocations: 12.88 kB / 0.5804 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.6763, allocations: 313.6 kB / 0.5807 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.6767, allocations: 124.9 kB / 0.5808 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.6781, allocations: 0.9303 MB / 0.5817 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.6785, allocations: 31.98 kB / 0.5817 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6786, allocations: 60 kB / 0.5818 GB, free: 3.684 MB / 462.1 MB 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.0004157/0.679, allocations: 255.7 kB / 0.582 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6792, allocations: 63.62 kB / 0.5821 GB, free: 3.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.6806, allocations: 0.6754 MB / 0.5827 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6807, allocations: 4 kB / 0.5827 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6807, allocations: 3.938 kB / 0.5828 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6807, allocations: 3.984 kB / 0.5828 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.6829, allocations: 1.169 MB / 0.5839 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6829, allocations: 128 / 0.5839 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.684, allocations: 211.8 kB / 0.5841 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.995e-05/0.6841, allocations: 24.84 kB / 0.5841 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.6842, allocations: 19.98 kB / 0.5841 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.6867, allocations: 2.62 MB / 0.5867 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6867, allocations: 3.938 kB / 0.5867 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.6881, allocations: 0.7975 MB / 0.5875 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.6884, allocations: 115.8 kB / 0.5876 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/0.6884, allocations: 16 kB / 0.5876 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.6889, allocations: 15.98 kB / 0.5876 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.689, allocations: 43.88 kB / 0.5877 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.6891, allocations: 39.98 kB / 0.5877 GB, free: 13.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004696/0.6895, allocations: 362.8 kB / 0.588 GB, free: 12.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6895, allocations: 0 / 0.588 GB, free: 12.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001093/0.6906, allocations: 291.7 kB / 0.5883 GB, free: 12.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001079/0.6917, allocations: 396.3 kB / 0.5887 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.6929, allocations: 0.5353 MB / 0.5892 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.6929, allocations: 7.797 kB / 0.5892 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.694, allocations: 394.7 kB / 0.5896 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.6954, allocations: 301.4 kB / 0.5899 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.6977, allocations: 1.218 MB / 0.5911 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.6981, allocations: 336.2 kB / 0.5914 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007865/0.6989, allocations: 249.3 kB / 0.5916 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.6992, allocations: 96.47 kB / 0.5917 GB, free: 9.086 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6992, allocations: 0 / 0.5917 GB, free: 9.086 MB / 478.1 MB Notification: Performance of Templates: time 0.03449/0.7337, allocations: 16.61 MB / 0.608 GB, free: 8.547 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.425386421382427]