Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 111 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002298/0.002298, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.035/2.035, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3626/0.3626, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 73.22 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2143, allocations: 62.45 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.7606/0.9749, allocations: 175.5 MB / 0.6401 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.9893, allocations: 5.48 MB / 0.6454 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.9913, allocations: 23.81 kB / 0.6454 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.9934, allocations: 274.5 kB / 0.6457 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006873/1, allocations: 1.126 MB / 0.6468 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004828/1.005, allocations: 0.8596 MB / 0.6476 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006658/1.012, allocations: 2.73 MB / 0.6503 GB, free: 9.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.014, allocations: 402.4 kB / 0.6507 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/1.019, allocations: 0.9691 MB / 0.6516 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/1.022, allocations: 0.6929 MB / 0.6523 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005636/1.022, allocations: 43.92 kB / 0.6524 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/1.026, allocations: 0.526 MB / 0.6529 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/1.027, allocations: 251.2 kB / 0.6531 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/1.029, allocations: 374.2 kB / 0.6535 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003349/1.032, allocations: 0.9627 MB / 0.6544 GB, free: 5.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/1.032, allocations: 0 / 0.6544 GB, free: 5.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.791e-06/1.032, allocations: 0 / 0.6544 GB, free: 5.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.442e-05/1.032, allocations: 0 / 0.6544 GB, free: 5.465 MB / 494.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.00545/1.038, allocations: 1.102 MB / 0.6555 GB, free: 4.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/1.038, allocations: 16.03 kB / 0.6555 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.04, allocations: 135 kB / 0.6556 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/1.042, allocations: 0.5002 MB / 0.6561 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/1.042, allocations: 104.4 kB / 0.6562 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/1.042, allocations: 47.91 kB / 0.6563 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/1.045, allocations: 0.8252 MB / 0.6571 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/1.045, allocations: 0 / 0.6571 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.045, allocations: 20 kB / 0.6571 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/1.045, allocations: 44.91 kB / 0.6571 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/1.047, allocations: 0.6204 MB / 0.6577 GB, free: 1.875 MB / 494.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.009732/1.057, allocations: 3.948 MB / 0.6616 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/1.058, allocations: 351.6 kB / 0.6619 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/1.059, allocations: 169.3 kB / 0.6621 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/1.059, allocations: 93.31 kB / 0.6622 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.525e-05/1.059, allocations: 42.84 kB / 0.6622 GB, free: 13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 6.833e-06/1.059, allocations: 0 / 0.6622 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.01065/1.07, allocations: 1.668 MB / 0.6639 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.07, allocations: 140.5 kB / 0.664 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.072, allocations: 0.6094 MB / 0.6646 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/1.072, allocations: 33.7 kB / 0.6646 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/1.073, allocations: 366.9 kB / 0.665 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/1.073, allocations: 149.9 kB / 0.6651 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/1.073, allocations: 158.4 kB / 0.6653 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002972/1.074, allocations: 374.8 kB / 0.6656 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/1.074, allocations: 201.9 kB / 0.6658 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.075, allocations: 0.5125 MB / 0.6663 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/1.077, allocations: 0.7552 MB / 0.667 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/1.077, allocations: 8 kB / 0.6671 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003157/1.081, allocations: 0.8837 MB / 0.6679 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.081, allocations: 8.188 kB / 0.6679 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/1.081, allocations: 12 kB / 0.6679 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.083, allocations: 308.6 kB / 0.6682 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/1.084, allocations: 123.8 kB / 0.6683 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.086, allocations: 0.9371 MB / 0.6693 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.088, allocations: 47.95 kB / 0.6693 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/1.088, allocations: 67.98 kB / 0.6694 GB, free: 5.211 MB / 0.4981 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.0007782/1.089, allocations: 245.8 kB / 0.6696 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/1.089, allocations: 71.25 kB / 0.6697 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/1.092, allocations: 0.8675 MB / 0.6705 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.092, allocations: 4 kB / 0.6705 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.092, allocations: 0 / 0.6705 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.092, allocations: 3.984 kB / 0.6705 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/1.096, allocations: 1.461 MB / 0.672 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/1.096, allocations: 4 kB / 0.672 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.098, allocations: 207.8 kB / 0.6722 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/1.098, allocations: 29.03 kB / 0.6722 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/1.098, allocations: 15.98 kB / 0.6722 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/1.101, allocations: 2.681 MB / 0.6748 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.101, allocations: 4.25 kB / 0.6748 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.103, allocations: 0.8206 MB / 0.6756 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000687/1.104, allocations: 188.2 kB / 0.6758 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003432/1.104, allocations: 19.92 kB / 0.6758 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/1.105, allocations: 31.91 kB / 0.6759 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.106, allocations: 39.89 kB / 0.6759 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.106, allocations: 48.05 kB / 0.6759 GB, free: 14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001188/1.107, allocations: 443 kB / 0.6764 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/1.107, allocations: 0 / 0.6764 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001506/1.109, allocations: 248 kB / 0.6766 GB, free: 13.33 MB / 0.5137 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.001252/1.11, allocations: 298.6 kB / 0.6769 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001779/1.112, allocations: 0.5518 MB / 0.6774 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.112, allocations: 0 / 0.6774 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/1.113, allocations: 406.7 kB / 0.6778 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.115, allocations: 346.3 kB / 0.6781 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.118, allocations: 1.595 MB / 0.6797 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/1.119, allocations: 0.93 MB / 0.6806 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/1.12, allocations: 131.4 kB / 0.6807 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/1.12, allocations: 0 / 0.6807 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.0329/1.153, allocations: 16.52 MB / 0.6969 GB, free: 8.551 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p