Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008857/0.0008857, 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.004419/0.004419, allocations: 162.4 kB / 24.7 MB, free: 9.426 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.8639/0.8639, allocations: 177.2 MB / 205 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] 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.2506/0.2506, allocations: 34.25 MB / 295.7 MB, free: 0.6484 MB / 266.7 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 443.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.49e-05, allocations: 2.281 kB / 443.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3245/0.3245, allocations: 130.2 MB / 0.5602 GB, free: 14.19 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005651/0.3302, allocations: 5.172 MB / 0.5653 GB, free: 9.008 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006577/0.3308, allocations: 27.75 kB / 0.5653 GB, free: 8.98 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008789/0.3317, allocations: 317.9 kB / 0.5656 GB, free: 8.668 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.3334, allocations: 0.9204 MB / 0.5665 GB, free: 7.742 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.3356, allocations: 1.073 MB / 0.5675 GB, free: 6.68 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00239/0.338, allocations: 1.832 MB / 0.5693 GB, free: 4.844 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.3387, allocations: 397.5 kB / 0.5697 GB, free: 4.449 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.3404, allocations: 0.9972 MB / 0.5707 GB, free: 3.449 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009914/0.3414, allocations: 0.6974 MB / 0.5714 GB, free: 2.75 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.3415, allocations: 60 kB / 0.5714 GB, free: 2.691 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.3424, allocations: 490.9 kB / 0.5719 GB, free: 2.211 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.3427, allocations: 291.1 kB / 0.5722 GB, free: 1.926 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.343, allocations: 291.3 kB / 0.5724 GB, free: 1.641 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.3442, allocations: 1.204 MB / 0.5736 GB, free: 444 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3442, allocations: 4 kB / 0.5736 GB, free: 440 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3443, allocations: 0 / 0.5736 GB, free: 440 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.3443, allocations: 0 / 0.5736 GB, free: 440 kB / 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.001568/0.3458, allocations: 0.9872 MB / 0.5746 GB, free: 15.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3459, allocations: 12.03 kB / 0.5746 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.3461, allocations: 92.45 kB / 0.5747 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.3468, allocations: 482 kB / 0.5751 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.3471, allocations: 164.4 kB / 0.5753 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.3472, allocations: 51.78 kB / 0.5753 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/0.3481, allocations: 1.142 MB / 0.5765 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3482, allocations: 4.188 kB / 0.5765 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.3482, allocations: 27.67 kB / 0.5765 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.3482, allocations: 40.98 kB / 0.5765 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.3489, allocations: 0.6555 MB / 0.5772 GB, free: 12.56 MB / 490.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.002689/0.3516, allocations: 3.07 MB / 0.5802 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.3522, allocations: 404.2 kB / 0.5806 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.3524, allocations: 193.4 kB / 0.5807 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.3525, allocations: 56.28 kB / 0.5808 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3526, allocations: 42.83 kB / 0.5808 GB, free: 8.695 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.3526, allocations: 0 / 0.5808 GB, free: 8.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002346/0.3549, allocations: 1.391 MB / 0.5822 GB, free: 7.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.355, allocations: 136.5 kB / 0.5823 GB, free: 7.105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.3554, allocations: 0.5181 MB / 0.5828 GB, free: 6.578 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3554, allocations: 37.7 kB / 0.5829 GB, free: 6.535 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3556, allocations: 368.4 kB / 0.5832 GB, free: 6.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.3557, allocations: 170.5 kB / 0.5834 GB, free: 6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3558, allocations: 146.6 kB / 0.5835 GB, free: 5.852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3559, allocations: 370.7 kB / 0.5839 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.3561, allocations: 213.9 kB / 0.5841 GB, free: 5.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.3565, allocations: 0.5877 MB / 0.5846 GB, free: 4.527 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.3571, allocations: 0.765 MB / 0.5854 GB, free: 3.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3571, allocations: 4 kB / 0.5854 GB, free: 3.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000976/0.3581, allocations: 0.8918 MB / 0.5863 GB, free: 2.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3581, allocations: 12 kB / 0.5863 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3581, allocations: 12.86 kB / 0.5863 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.3589, allocations: 288.1 kB / 0.5866 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3591, allocations: 123.8 kB / 0.5867 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007017/0.3598, allocations: 0.8879 MB / 0.5876 GB, free: 1.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3601, allocations: 24 kB / 0.5876 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.3601, allocations: 43.98 kB / 0.5876 GB, free: 1.324 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.0002477/0.3603, allocations: 249.5 kB / 0.5879 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.3604, allocations: 67.56 kB / 0.5879 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.3612, allocations: 0.6851 MB / 0.5886 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.3613, allocations: 9.578 kB / 0.5886 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3613, allocations: 4 kB / 0.5886 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3613, allocations: 0 / 0.5886 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.3628, allocations: 1.175 MB / 0.5897 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3628, allocations: 0 / 0.5897 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.3633, allocations: 201 kB / 0.5899 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.3633, allocations: 32.78 kB / 0.59 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3634, allocations: 19.92 kB / 0.59 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.3646, allocations: 2.616 MB / 0.5925 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3646, allocations: 3.938 kB / 0.5925 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/0.3655, allocations: 0.9257 MB / 0.5935 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.3657, allocations: 127.5 kB / 0.5936 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.3658, allocations: 8 kB / 0.5936 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3659, allocations: 19.98 kB / 0.5936 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.366, allocations: 40.03 kB / 0.5936 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.366, allocations: 23.98 kB / 0.5937 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002974/0.3663, allocations: 358.8 kB / 0.594 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.3663, allocations: 1.5 kB / 0.594 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006127/0.367, allocations: 219.8 kB / 0.5942 GB, free: 10.27 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.0003795/0.3673, allocations: 243.2 kB / 0.5944 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.3682, allocations: 0.5873 MB / 0.595 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3682, allocations: 0 / 0.595 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.3687, allocations: 436 kB / 0.5954 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.3696, allocations: 321.5 kB / 0.5957 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.3718, allocations: 1.339 MB / 0.597 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3721, allocations: 337 kB / 0.5974 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3722, allocations: 72.48 kB / 0.5974 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/0.3722, allocations: 0 / 0.5974 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of Templates: time 0.01704/0.3893, allocations: 15.57 MB / 0.6126 GB, free: 7.402 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.68525196518749]