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.0008101/0.0008103, allocations: 95.31 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009406/0.0009408, allocations: 204.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 63.57 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3995/0.5491, allocations: 173.2 MB / 0.6416 GB, free: 7.371 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00836/0.5575, allocations: 5.406 MB / 0.6468 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009822/0.5585, allocations: 27.75 kB / 0.6469 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.5597, allocations: 266.5 kB / 0.6471 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.5634, allocations: 1.144 MB / 0.6482 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.5661, allocations: 0.8528 MB / 0.6491 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.5695, allocations: 2.73 MB / 0.6517 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.5704, allocations: 397 kB / 0.6521 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.5731, allocations: 0.9613 MB / 0.6531 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.5746, allocations: 0.6851 MB / 0.6537 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.5748, allocations: 32 kB / 0.6538 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.5764, allocations: 0.5382 MB / 0.6543 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.5769, allocations: 243.3 kB / 0.6545 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.5776, allocations: 395.9 kB / 0.6549 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.5791, allocations: 0.9509 MB / 0.6558 GB, free: 8.738 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.5791, allocations: 0 / 0.6558 GB, free: 8.738 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5791, allocations: 0 / 0.6558 GB, free: 8.738 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.019e-05/0.5792, allocations: 0 / 0.6558 GB, free: 8.738 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.002395/0.5816, allocations: 0.9465 MB / 0.6567 GB, free: 7.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5816, allocations: 8.031 kB / 0.6568 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.5826, allocations: 139.1 kB / 0.6569 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.5836, allocations: 0.5117 MB / 0.6574 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5838, allocations: 104.4 kB / 0.6575 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5839, allocations: 47.94 kB / 0.6575 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5854, allocations: 0.8175 MB / 0.6583 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.5854, allocations: 11.84 kB / 0.6583 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.5855, allocations: 24 kB / 0.6584 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.222e-05/0.5856, allocations: 40.97 kB / 0.6584 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.5867, allocations: 0.6204 MB / 0.659 GB, free: 5.293 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.005053/0.5918, allocations: 3.946 MB / 0.6629 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.5925, allocations: 359.6 kB / 0.6632 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.5928, allocations: 169.3 kB / 0.6634 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.5929, allocations: 93.38 kB / 0.6635 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.593, allocations: 46.83 kB / 0.6635 GB, free: 420 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.465e-06/0.593, allocations: 0 / 0.6635 GB, free: 420 kB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005905/0.5989, allocations: 1.658 MB / 0.6651 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.599, allocations: 140.5 kB / 0.6653 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/0.5999, allocations: 0.6132 MB / 0.6659 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.6, allocations: 33.7 kB / 0.6659 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.6003, allocations: 366.9 kB / 0.6662 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.6005, allocations: 146 kB / 0.6664 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.6006, allocations: 61.69 kB / 0.6664 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6008, allocations: 374.8 kB / 0.6668 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.6012, allocations: 205.8 kB / 0.667 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.6019, allocations: 0.5125 MB / 0.6675 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.6029, allocations: 0.7514 MB / 0.6682 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.6029, allocations: 4 kB / 0.6682 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001665/0.6046, allocations: 0.8873 MB / 0.6691 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6046, allocations: 8 kB / 0.6691 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.6047, allocations: 12 kB / 0.6691 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.6061, allocations: 323.3 kB / 0.6694 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.6066, allocations: 131.8 kB / 0.6695 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.6077, allocations: 0.9301 MB / 0.6705 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.6083, allocations: 52.03 kB / 0.6705 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/0.6084, allocations: 63.98 kB / 0.6706 GB, free: 8.707 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.00037/0.6088, allocations: 253.8 kB / 0.6708 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.609, allocations: 63.25 kB / 0.6709 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6107, allocations: 0.8577 MB / 0.6717 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6108, allocations: 7.938 kB / 0.6717 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6108, allocations: 7.938 kB / 0.6717 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6108, allocations: 3.984 kB / 0.6717 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.6131, allocations: 1.453 MB / 0.6731 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6132, allocations: 4.188 kB / 0.6731 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6142, allocations: 215.8 kB / 0.6733 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.914e-05/0.6143, allocations: 24.75 kB / 0.6734 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.6144, allocations: 19.98 kB / 0.6734 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.6165, allocations: 2.693 MB / 0.676 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6166, allocations: 0 / 0.676 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.6179, allocations: 0.8129 MB / 0.6768 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.6182, allocations: 192.2 kB / 0.677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.6183, allocations: 11.94 kB / 0.677 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.6188, allocations: 35.97 kB / 0.677 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.619, allocations: 39.95 kB / 0.6771 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.619, allocations: 39.98 kB / 0.6771 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005747/0.6196, allocations: 439 kB / 0.6775 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/0.6196, allocations: 0 / 0.6775 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009954/0.6206, allocations: 252 kB / 0.6778 GB, free: 0.832 MB / 0.4981 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.0008633/0.6215, allocations: 295.7 kB / 0.6781 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.6227, allocations: 0.5592 MB / 0.6786 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.6228, allocations: 4 kB / 0.6786 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.6237, allocations: 403.1 kB / 0.679 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.6257, allocations: 361.2 kB / 0.6793 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.6283, allocations: 1.672 MB / 0.681 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.6289, allocations: 0.93 MB / 0.6819 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.6293, allocations: 131.4 kB / 0.682 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.6293, allocations: 0 / 0.682 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.02604/0.6554, allocations: 16.44 MB / 0.6981 GB, free: 12.04 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