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.00154/0.00154, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001549/0.001549, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 62.84 kB / 307 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.09251, allocations: 50.55 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1687/0.2612, allocations: 27.11 MB / 384.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.2652, allocations: 4.156 MB / 388.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.2654, allocations: 4.188 kB / 388.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.266, allocations: 207.6 kB / 389 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.2666, allocations: 339.8 kB / 389.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.2701, allocations: 1.472 MB / 390.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.2709, allocations: 0.8881 MB / 391.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.2711, allocations: 103.6 kB / 391.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.2767, allocations: 4.042 MB / 395.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.277, allocations: 278.4 kB / 396.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.2771, allocations: 31.47 kB / 396.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.2784, allocations: 0.7233 MB / 396.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.2785, allocations: 89.27 kB / 396.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.2787, allocations: 198.7 kB / 397.1 MB, free: 432 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009645/0.2796, allocations: 0.8484 MB / 398 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2797, allocations: 1.375 kB / 398 MB, free: 15.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2797, allocations: 0 / 398 MB, free: 15.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2797, allocations: 0 / 398 MB, free: 15.86 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001057/0.2807, allocations: 0.6476 MB / 398.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2808, allocations: 9.594 kB / 398.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.2813, allocations: 57.72 kB / 398.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.2818, allocations: 298.6 kB / 399 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2818, allocations: 24.03 kB / 399 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.2819, allocations: 30.5 kB / 399 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.2824, allocations: 337.9 kB / 399.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2824, allocations: 1.688 kB / 399.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.2825, allocations: 15.97 kB / 399.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2825, allocations: 6.344 kB / 399.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.2828, allocations: 212.8 kB / 399.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.2958, allocations: 5.923 MB / 405.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.2962, allocations: 173.7 kB / 405.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.2963, allocations: 94.31 kB / 405.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.3069, allocations: 3.88 MB / 409.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.307, allocations: 30.56 kB / 409.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.307, allocations: 0 / 409.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006374/0.3134, allocations: 1.417 MB / 411.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3134, allocations: 51.41 kB / 411.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.3137, allocations: 262.5 kB / 411.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3138, allocations: 33.7 kB / 411.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3139, allocations: 196 kB / 411.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.314, allocations: 86.75 kB / 411.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3141, allocations: 65.61 kB / 411.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3143, allocations: 334.8 kB / 412.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3144, allocations: 99.89 kB / 412.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.3147, allocations: 186.9 kB / 412.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.3151, allocations: 307.5 kB / 412.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3152, allocations: 0 / 412.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007068/0.3159, allocations: 394.8 kB / 413.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3159, allocations: 8 kB / 413.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3159, allocations: 0 / 413.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004193/0.3201, allocations: 0.9394 MB / 414 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.3204, allocations: 75.84 kB / 414.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.3221, allocations: 1.989 MB / 416.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.3223, allocations: 8 kB / 416.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3224, allocations: 16 kB / 416.1 MB, free: 15.85 MB / 334.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 (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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.3225, allocations: 153.7 kB / 416.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.3226, allocations: 27.66 kB / 416.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/0.3234, allocations: 0.494 MB / 416.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3234, allocations: 4 kB / 416.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.3234, allocations: 0 / 416.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007159/0.3242, allocations: 0.7121 MB / 417.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.3255, allocations: 0.9497 MB / 418.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3255, allocations: 4 kB / 418.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.3257, allocations: 43.91 kB / 418.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.3275, allocations: 316.4 kB / 418.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3275, allocations: 11.98 kB / 418.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005336/0.328, allocations: 0.6498 MB / 419.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.328, allocations: 0 / 419.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.329, allocations: 0.7132 MB / 420.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.3291, allocations: 116.6 kB / 420.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.3292, allocations: 8 kB / 420.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3293, allocations: 4 kB / 420.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3294, allocations: 15.92 kB / 420.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.3294, allocations: 15.98 kB / 420.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.3296, allocations: 186 kB / 420.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3296, allocations: 4.062 kB / 420.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006987/0.3303, allocations: 179.9 kB / 420.7 MB, free: 11.01 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 (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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005828/0.3309, allocations: 271 kB / 421 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.3318, allocations: 467.5 kB / 421.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3318, allocations: 0 / 421.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.3323, allocations: 239.5 kB / 421.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.3333, allocations: 178.8 kB / 421.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3346, allocations: 0.7838 MB / 422.6 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3351, allocations: 0.776 MB / 423.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.3353, allocations: 54.92 kB / 423.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.3354, allocations: 31.44 kB / 423.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3354, allocations: 0 / 423.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Templates: time 0.01681/0.3522, allocations: 9.932 MB / 433.4 MB, free: 14.28 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.1.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