Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001162, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.41 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0805/0.08176, allocations: 50.53 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1672/0.249, allocations: 37.39 MB / 394.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.2545, allocations: 4.56 MB / 398.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.255, allocations: 7.875 kB / 398.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.2558, allocations: 253 kB / 399.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000998/0.2569, allocations: 462.5 kB / 399.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.2609, allocations: 1.459 MB / 401.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.2625, allocations: 1.281 MB / 402.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2628, allocations: 165.6 kB / 402.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008349/0.2636, allocations: 478.9 kB / 403 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.2643, allocations: 427.8 kB / 403.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.2644, allocations: 45.28 kB / 403.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.266, allocations: 0.7597 MB / 404.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.2662, allocations: 134 kB / 404.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.2666, allocations: 277.3 kB / 404.6 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.268, allocations: 1.051 MB / 405.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.268, allocations: 0 / 405.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.268, allocations: 0 / 405.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.2681, allocations: 1.375 kB / 405.7 MB, free: 8.531 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001281/0.2693, allocations: 0.7843 MB / 406.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2694, allocations: 9.625 kB / 406.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.27, allocations: 77.72 kB / 406.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.2705, allocations: 332.7 kB / 406.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2705, allocations: 37.23 kB / 406.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.2706, allocations: 38.03 kB / 406.9 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.2713, allocations: 469.7 kB / 407.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2713, allocations: 2.281 kB / 407.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.2714, allocations: 20.72 kB / 407.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2714, allocations: 10.69 kB / 407.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.2719, allocations: 306.4 kB / 407.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.2853, allocations: 6.734 MB / 414.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.2857, allocations: 266 kB / 414.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.286, allocations: 161.8 kB / 414.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.2968, allocations: 3.88 MB / 418.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.2968, allocations: 42.56 kB / 418.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.2968, allocations: 0 / 418.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01207/0.3089, allocations: 2.451 MB / 421.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.309, allocations: 63.33 kB / 421.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3093, allocations: 307.2 kB / 421.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.3093, allocations: 41.58 kB / 421.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3095, allocations: 220 kB / 421.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3096, allocations: 157.7 kB / 422 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3097, allocations: 102.1 kB / 422.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3099, allocations: 350.8 kB / 422.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3101, allocations: 153.1 kB / 422.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.3104, allocations: 271.7 kB / 422.9 MB, free: 9.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.3111, allocations: 476.2 kB / 423.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3111, allocations: 3.938 kB / 423.3 MB, free: 8.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001028/0.3121, allocations: 0.593 MB / 423.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3121, allocations: 7.938 kB / 423.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3122, allocations: 4 kB / 423.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008314/0.3205, allocations: 1.851 MB / 425.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.3209, allocations: 107.8 kB / 425.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.3229, allocations: 2.573 MB / 428.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.3232, allocations: 32.11 kB / 428.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3233, allocations: 20 kB / 428.5 MB, free: 3.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.3235, allocations: 185.5 kB / 428.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.3236, allocations: 43.53 kB / 428.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.3247, allocations: 0.8512 MB / 429.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3248, allocations: 8 kB / 429.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3248, allocations: 0 / 429.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009761/0.3258, allocations: 0.9574 MB / 430.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.3277, allocations: 1.493 MB / 432.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3277, allocations: 0 / 432.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.328, allocations: 75.92 kB / 432.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/0.3316, allocations: 0.6217 MB / 432.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.3316, allocations: 8.094 kB / 432.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009236/0.3326, allocations: 1.3 MB / 434.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3326, allocations: 3.938 kB / 434.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3341, allocations: 1.219 MB / 435.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.3342, allocations: 120.5 kB / 435.4 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.3342, allocations: 12 kB / 435.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3345, allocations: 27.92 kB / 435.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.3346, allocations: 27.91 kB / 435.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3346, allocations: 19.98 kB / 435.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.3349, allocations: 209.9 kB / 435.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 0 / 435.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007568/0.3356, allocations: 231.9 kB / 435.9 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006299/0.3363, allocations: 278.9 kB / 436.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3376, allocations: 0.7147 MB / 436.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3376, allocations: 0 / 436.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.3386, allocations: 440.3 kB / 437.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3398, allocations: 242.2 kB / 437.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.3417, allocations: 1.425 MB / 439 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3421, allocations: 0.8402 MB / 439.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000308/0.3424, allocations: 72.34 kB / 439.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.3425, allocations: 39.42 kB / 439.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3425, allocations: 0 / 439.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Templates: time 0.01931/0.3618, allocations: 12.6 MB / 452.5 MB, free: 10.85 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches