Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.0007659, allocations: 96.95 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008565/0.0008565, allocations: 197.3 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 7.984 kB / 307.1 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08799, allocations: 51.52 MB / 358.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1681/0.2562, allocations: 24.99 MB / 383.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.2596, allocations: 3.89 MB / 387.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.2599, allocations: 3.031 kB / 387.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.2604, allocations: 159.7 kB / 387.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.261, allocations: 319.2 kB / 388 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002865/0.2638, allocations: 1.144 MB / 389.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.2649, allocations: 1.113 MB / 390.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.2651, allocations: 78.12 kB / 390.3 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009654/0.2748, allocations: 7.479 MB / 397.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.2751, allocations: 271 kB / 398 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.2751, allocations: 13.44 kB / 398.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.2763, allocations: 0.6807 MB / 398.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.2764, allocations: 73.34 kB / 398.8 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.2765, allocations: 93.39 kB / 398.9 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.277, allocations: 0.6088 MB / 399.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.277, allocations: 4 kB / 399.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2771, allocations: 0 / 399.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2771, allocations: 0 / 399.5 MB, free: 2.23 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006302/0.2777, allocations: 0.585 MB / 400.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.2777, allocations: 8.875 kB / 400.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.2781, allocations: 51.42 kB / 400.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.2784, allocations: 278.7 kB / 400.4 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.2784, allocations: 23.84 kB / 400.4 MB, free: 1.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.2785, allocations: 29.75 kB / 400.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.2789, allocations: 336.7 kB / 400.8 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2789, allocations: 3.938 kB / 400.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.2789, allocations: 11.72 kB / 400.8 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2789, allocations: 7.312 kB / 400.8 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.2792, allocations: 210.1 kB / 401 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.2905, allocations: 5.92 MB / 407 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.2908, allocations: 175.2 kB / 407.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2909, allocations: 92.2 kB / 407.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009395/0.3003, allocations: 3.881 MB / 411.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3004, allocations: 34.75 kB / 411.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.724e-06/0.3004, allocations: 0 / 411.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005783/0.3062, allocations: 1.417 MB / 412.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.3062, allocations: 51.41 kB / 412.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3065, allocations: 258.6 kB / 412.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3065, allocations: 29.7 kB / 412.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3067, allocations: 188 kB / 413.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.3067, allocations: 94.64 kB / 413.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.3067, allocations: 11.94 kB / 413.2 MB, free: 4.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3069, allocations: 334.8 kB / 413.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.307, allocations: 87.97 kB / 413.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.3072, allocations: 190.8 kB / 413.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3074, allocations: 120.5 kB / 413.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3074, allocations: 0 / 413.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006568/0.3081, allocations: 394.7 kB / 414.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3081, allocations: 4 kB / 414.3 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3081, allocations: 4 kB / 414.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.3111, allocations: 413.6 kB / 414.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3114, allocations: 71.84 kB / 414.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3128, allocations: 1.883 MB / 416.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.313, allocations: 28.09 kB / 416.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3131, allocations: 12 kB / 416.7 MB, free: 0.7695 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.3132, allocations: 158.9 kB / 416.8 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.3133, allocations: 31.62 kB / 416.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.314, allocations: 498.5 kB / 417.3 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.314, allocations: 4 kB / 417.3 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.314, allocations: 0 / 417.3 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006151/0.3146, allocations: 0.7196 MB / 418.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3158, allocations: 0.9456 MB / 419 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3158, allocations: 0 / 419 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.316, allocations: 43.98 kB / 419.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.3176, allocations: 324.4 kB / 419.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3176, allocations: 4 kB / 419.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004191/0.318, allocations: 0.646 MB / 420 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3181, allocations: 0 / 420 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.3189, allocations: 0.7283 MB / 420.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.319, allocations: 112.8 kB / 420.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.319, allocations: 7.953 kB / 420.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.3192, allocations: 19.89 kB / 420.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3193, allocations: 15.98 kB / 420.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3193, allocations: 11.98 kB / 420.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3195, allocations: 182 kB / 421.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3195, allocations: 0 / 421.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006046/0.3201, allocations: 191.9 kB / 421.3 MB, free: 11.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005239/0.3206, allocations: 282.5 kB / 421.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.3213, allocations: 439.6 kB / 422 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3213, allocations: 0 / 422 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.3218, allocations: 239.5 kB / 422.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.3227, allocations: 168.3 kB / 422.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3239, allocations: 0.9572 MB / 423.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3242, allocations: 0.7724 MB / 424.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3244, allocations: 50.94 kB / 424.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.3245, allocations: 27.44 kB / 424.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3245, allocations: 0 / 424.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01406/0.3385, allocations: 9.39 MB / 433.6 MB, free: 15.59 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches