Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0008243/0.0008243, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003639/0.003639, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.868/0.868, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2229/0.2229, allocations: 32.8 MB / 294.2 MB, free: 1.195 MB / 266.7 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.223e-05, allocations: 9.234 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2473/0.2473, allocations: 130.2 MB / 0.5577 GB, free: 2.086 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.2512, allocations: 5.172 MB / 0.5627 GB, free: 12.91 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.2515, allocations: 27.75 kB / 0.5627 GB, free: 12.88 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.252, allocations: 313.9 kB / 0.563 GB, free: 12.57 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008866/0.2529, allocations: 0.9204 MB / 0.5639 GB, free: 11.65 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.2543, allocations: 1.072 MB / 0.565 GB, free: 10.59 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2553, allocations: 1.836 MB / 0.5668 GB, free: 8.746 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.2557, allocations: 398.6 kB / 0.5672 GB, free: 8.352 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.2565, allocations: 0.9973 MB / 0.5681 GB, free: 7.352 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.257, allocations: 0.6974 MB / 0.5688 GB, free: 6.652 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.2571, allocations: 63.94 kB / 0.5689 GB, free: 6.59 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.2575, allocations: 491 kB / 0.5693 GB, free: 6.109 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.2577, allocations: 283.1 kB / 0.5696 GB, free: 5.832 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.2579, allocations: 291.4 kB / 0.5699 GB, free: 5.547 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.259, allocations: 1.207 MB / 0.5711 GB, free: 4.336 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.259, allocations: 0 / 0.5711 GB, free: 4.336 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.259, allocations: 4 kB / 0.5711 GB, free: 4.332 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.259, allocations: 0 / 0.5711 GB, free: 4.332 MB / 474.7 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.001175/0.2602, allocations: 0.9911 MB / 0.572 GB, free: 3.309 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.2602, allocations: 12.03 kB / 0.5721 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.2604, allocations: 88.47 kB / 0.5721 GB, free: 3.211 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.2609, allocations: 485.9 kB / 0.5726 GB, free: 2.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.261, allocations: 164.3 kB / 0.5728 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.2611, allocations: 48.38 kB / 0.5728 GB, free: 2.477 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.2619, allocations: 1.134 MB / 0.5739 GB, free: 1.191 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2619, allocations: 7.844 kB / 0.5739 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.262, allocations: 27.92 kB / 0.5739 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.262, allocations: 40.92 kB / 0.574 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.2626, allocations: 0.6479 MB / 0.5746 GB, free: 484 kB / 474.7 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.002295/0.2649, allocations: 3.073 MB / 0.5776 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000738/0.2657, allocations: 412.3 kB / 0.578 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2659, allocations: 189.4 kB / 0.5782 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.266, allocations: 56.28 kB / 0.5782 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.266, allocations: 38.89 kB / 0.5783 GB, free: 12.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.482e-06/0.266, allocations: 0 / 0.5783 GB, free: 12.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001856/0.2679, allocations: 1.394 MB / 0.5796 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.2679, allocations: 140.4 kB / 0.5798 GB, free: 11.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.2683, allocations: 0.5181 MB / 0.5803 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2683, allocations: 37.7 kB / 0.5803 GB, free: 10.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.2685, allocations: 372.3 kB / 0.5807 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.2686, allocations: 166.5 kB / 0.5808 GB, free: 9.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.2687, allocations: 142.6 kB / 0.581 GB, free: 9.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.2688, allocations: 370.8 kB / 0.5813 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.269, allocations: 213.9 kB / 0.5815 GB, free: 9.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.2694, allocations: 0.5955 MB / 0.5821 GB, free: 8.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.27, allocations: 0.7572 MB / 0.5829 GB, free: 7.543 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.27, allocations: 4 kB / 0.5829 GB, free: 7.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000937/0.2709, allocations: 0.8987 MB / 0.5837 GB, free: 6.633 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2709, allocations: 12 kB / 0.5837 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2709, allocations: 8 kB / 0.5838 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006553/0.2716, allocations: 290.5 kB / 0.584 GB, free: 6.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.2718, allocations: 123.8 kB / 0.5841 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008488/0.2726, allocations: 0.8922 MB / 0.585 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.2728, allocations: 23.98 kB / 0.585 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.2729, allocations: 43.94 kB / 0.5851 GB, free: 5.227 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.273, allocations: 246 kB / 0.5853 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.2731, allocations: 71.62 kB / 0.5854 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.2739, allocations: 0.6836 MB / 0.5861 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2739, allocations: 4 kB / 0.5861 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2739, allocations: 4 kB / 0.5861 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2739, allocations: 5.391 kB / 0.5861 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.275, allocations: 1.175 MB / 0.5872 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.275, allocations: 1.812 kB / 0.5872 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.2754, allocations: 203.7 kB / 0.5874 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-05/0.2755, allocations: 33.02 kB / 0.5874 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.2755, allocations: 15.94 kB / 0.5875 GB, free: 2.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.2766, allocations: 2.628 MB / 0.59 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2766, allocations: 0 / 0.59 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/0.2774, allocations: 0.9207 MB / 0.5909 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.2775, allocations: 123.5 kB / 0.591 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.2776, allocations: 15.92 kB / 0.5911 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2778, allocations: 16 kB / 0.5911 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.2778, allocations: 39.88 kB / 0.5911 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2778, allocations: 24.12 kB / 0.5911 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002462/0.2781, allocations: 358.8 kB / 0.5915 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.2781, allocations: 1.688 kB / 0.5915 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000674/0.2788, allocations: 223.8 kB / 0.5917 GB, free: 14.17 MB / 0.4948 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002871/0.279, allocations: 250.6 kB / 0.5919 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007108/0.2798, allocations: 0.5799 MB / 0.5925 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2798, allocations: 0 / 0.5925 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.2803, allocations: 440.6 kB / 0.5929 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.281, allocations: 316.2 kB / 0.5932 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2823, allocations: 1.337 MB / 0.5945 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2825, allocations: 341.1 kB / 0.5948 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2826, allocations: 68.48 kB / 0.5949 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.2826, allocations: 4 kB / 0.5949 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.01134/0.2939, allocations: 15.56 MB / 0.6101 GB, free: 11.29 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.44795510917902]