Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001825/0.001825, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00198/0.00198, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.545/1.545, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3694/0.3694, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.758e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3987/0.3988, allocations: 170.8 MB / 0.5333 GB, free: 2.762 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.4061, allocations: 5.407 MB / 0.5386 GB, free: 15.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.4069, allocations: 30.72 kB / 0.5386 GB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.4081, allocations: 312 kB / 0.5389 GB, free: 14.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.412, allocations: 1.315 MB / 0.5402 GB, free: 14.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.4146, allocations: 1.013 MB / 0.5412 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.417, allocations: 1.888 MB / 0.543 GB, free: 12.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006957/0.4177, allocations: 410.7 kB / 0.5434 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.4203, allocations: 1.352 MB / 0.5447 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.4213, allocations: 0.6372 MB / 0.5453 GB, free: 11.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.4215, allocations: 60.31 kB / 0.5454 GB, free: 11.82 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.4228, allocations: 0.5576 MB / 0.5459 GB, free: 11.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.4232, allocations: 288.6 kB / 0.5462 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.4236, allocations: 287.1 kB / 0.5465 GB, free: 11.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.4256, allocations: 1.39 MB / 0.5479 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4256, allocations: 0 / 0.5479 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4256, allocations: 0 / 0.5479 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4257, allocations: 4 kB / 0.5479 GB, free: 10.38 MB / 426.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.002527/0.4282, allocations: 1.191 MB / 0.549 GB, free: 9.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4282, allocations: 12.31 kB / 0.549 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4292, allocations: 224.8 kB / 0.5492 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4303, allocations: 498.5 kB / 0.5497 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4304, allocations: 153.7 kB / 0.5499 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.4305, allocations: 52.78 kB / 0.5499 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.4321, allocations: 1.129 MB / 0.551 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4321, allocations: 3.125 kB / 0.551 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.4322, allocations: 25.81 kB / 0.551 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/0.4323, allocations: 40.55 kB / 0.5511 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.4332, allocations: 466.8 kB / 0.5515 GB, free: 7.547 MB / 426.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.005755/0.4389, allocations: 4.136 MB / 0.5556 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.4395, allocations: 304.2 kB / 0.5559 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.4398, allocations: 131.8 kB / 0.556 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.4399, allocations: 11.62 kB / 0.556 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.4399, allocations: 44.33 kB / 0.556 GB, free: 3.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.224e-06/0.4399, allocations: 3.062 kB / 0.556 GB, free: 3.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005873/0.4458, allocations: 1.396 MB / 0.5574 GB, free: 2.223 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4459, allocations: 132.5 kB / 0.5575 GB, free: 2.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.4468, allocations: 0.6546 MB / 0.5582 GB, free: 1.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.4469, allocations: 37.7 kB / 0.5582 GB, free: 1.348 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.4473, allocations: 458.9 kB / 0.5586 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.4475, allocations: 170.7 kB / 0.5588 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.4478, allocations: 176.2 kB / 0.559 GB, free: 0.543 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003926/0.4482, allocations: 0.5781 MB / 0.5595 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.4485, allocations: 141.9 kB / 0.5597 GB, free: 15.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009923/0.4495, allocations: 0.6816 MB / 0.5603 GB, free: 14.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.4507, allocations: 0.7832 MB / 0.5611 GB, free: 13.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4507, allocations: 4 kB / 0.5611 GB, free: 13.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001544/0.4522, allocations: 0.7814 MB / 0.5619 GB, free: 13.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4522, allocations: 12.22 kB / 0.5619 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.4523, allocations: 12 kB / 0.5619 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.4537, allocations: 283.5 kB / 0.5622 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.4541, allocations: 119.8 kB / 0.5623 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.4555, allocations: 1.132 MB / 0.5634 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.456, allocations: 28 kB / 0.5634 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4561, allocations: 59.98 kB / 0.5635 GB, free: 11.47 MB / 442.7 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.0003927/0.4565, allocations: 256.3 kB / 0.5637 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4567, allocations: 71.62 kB / 0.5638 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.4584, allocations: 0.7955 MB / 0.5646 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4584, allocations: 4 kB / 0.5646 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4584, allocations: 4 kB / 0.5646 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4584, allocations: 0 / 0.5646 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.4606, allocations: 1.148 MB / 0.5657 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4606, allocations: 4 kB / 0.5657 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4617, allocations: 200 kB / 0.5659 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.4618, allocations: 27.67 kB / 0.5659 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.4619, allocations: 16 kB / 0.5659 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/0.4651, allocations: 3.654 MB / 0.5695 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4651, allocations: 4 kB / 0.5695 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.4666, allocations: 0.7674 MB / 0.5702 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.4669, allocations: 99.8 kB / 0.5703 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.467, allocations: 15.95 kB / 0.5704 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.4674, allocations: 19.92 kB / 0.5704 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.4675, allocations: 39.88 kB / 0.5704 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.4675, allocations: 35.98 kB / 0.5704 GB, free: 3.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005528/0.4681, allocations: 402.8 kB / 0.5708 GB, free: 3.551 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4681, allocations: 0 / 0.5708 GB, free: 3.551 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001037/0.4691, allocations: 255.7 kB / 0.5711 GB, free: 3.301 MB / 442.7 MB 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 (38): * Single equations (assignments): 36 * 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.000747/0.4699, allocations: 300.1 kB / 0.5714 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.4711, allocations: 498.4 kB / 0.5718 GB, free: 2.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4711, allocations: 4 kB / 0.5718 GB, free: 2.516 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.4722, allocations: 438.4 kB / 0.5723 GB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.4738, allocations: 321.2 kB / 0.5726 GB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4762, allocations: 1.2 MB / 0.5737 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4766, allocations: 324.3 kB / 0.574 GB, free: 176 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001009/0.4776, allocations: 422.3 kB / 0.5745 GB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.4779, allocations: 100.5 kB / 0.5745 GB, free: 15.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4779, allocations: 0 / 0.5745 GB, free: 15.66 MB / 458.7 MB Notification: Performance of Templates: time 0.03046/0.5084, allocations: 15.44 MB / 0.5896 GB, free: 460 kB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.03760164801497]