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.000798/0.0007981, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008755/0.0008755, allocations: 205.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000199/0.000199, allocations: 8.266 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08509, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1813/0.2665, allocations: 26.68 MB / 385.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003887/0.2704, allocations: 4.147 MB / 390.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.2706, allocations: 2.75 kB / 390.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.2712, allocations: 176.2 kB / 390.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.2718, allocations: 333.8 kB / 390.6 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.2752, allocations: 1.239 MB / 391.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.2765, allocations: 1.332 MB / 393.2 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2766, allocations: 83.06 kB / 393.2 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.2828, allocations: 4.207 MB / 397.4 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.2832, allocations: 288 kB / 397.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.2832, allocations: 14.53 kB / 397.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.2844, allocations: 0.688 MB / 398.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.2845, allocations: 72.41 kB / 398.5 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.2847, allocations: 207.4 kB / 398.7 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.2855, allocations: 0.8192 MB / 399.5 MB, free: 452 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2855, allocations: 0 / 399.5 MB, free: 452 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2856, allocations: 1.375 kB / 399.5 MB, free: 452 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2856, allocations: 3.938 kB / 399.5 MB, free: 448 kB / 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.0007192/0.2863, allocations: 0.5883 MB / 400.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2863, allocations: 10.22 kB / 400.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.2868, allocations: 60.61 kB / 400.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.2871, allocations: 290.9 kB / 400.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2871, allocations: 20.44 kB / 400.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.2872, allocations: 25.59 kB / 400.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2877, allocations: 342.7 kB / 400.8 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2877, allocations: 5.406 kB / 400.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2878, allocations: 11.06 kB / 400.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.2878, allocations: 7.031 kB / 400.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.2881, allocations: 208.2 kB / 401.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.3006, allocations: 5.904 MB / 407 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.301, allocations: 180.7 kB / 407.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3011, allocations: 94.17 kB / 407.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.3118, allocations: 3.869 MB / 411.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3119, allocations: 38.56 kB / 411.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.3119, allocations: 0 / 411.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006435/0.3183, allocations: 1.42 MB / 412.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3184, allocations: 59.39 kB / 412.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3186, allocations: 266.5 kB / 412.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3187, allocations: 29.7 kB / 412.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.3188, allocations: 188.1 kB / 413.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.3189, allocations: 90.66 kB / 413.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.3189, allocations: 41.64 kB / 413.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.319, allocations: 330.8 kB / 413.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3192, allocations: 91.97 kB / 413.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3194, allocations: 194.8 kB / 413.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.3198, allocations: 303.5 kB / 414.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3198, allocations: 0 / 414.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000685/0.3205, allocations: 394.7 kB / 414.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3205, allocations: 4 kB / 414.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3206, allocations: 4 kB / 414.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/0.3242, allocations: 402.6 kB / 414.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3245, allocations: 75.78 kB / 415 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.3259, allocations: 1.884 MB / 416.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.3262, allocations: 31.83 kB / 416.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3262, allocations: 12 kB / 416.9 MB, free: 0.8281 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 (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.0001525/0.3264, allocations: 157.8 kB / 417.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.3265, allocations: 24.59 kB / 417.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.3272, allocations: 0.4939 MB / 417.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.3272, allocations: 7.984 kB / 417.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3272, allocations: 0 / 417.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006404/0.3279, allocations: 0.716 MB / 418.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.3292, allocations: 0.9459 MB / 419.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3292, allocations: 4 kB / 419.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3294, allocations: 47.97 kB / 419.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.3312, allocations: 328.3 kB / 419.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.3313, allocations: 11.94 kB / 419.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004751/0.3317, allocations: 0.6382 MB / 420.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3318, allocations: 0 / 420.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.3327, allocations: 0.7248 MB / 421 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3329, allocations: 104.7 kB / 421.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3329, allocations: 15.92 kB / 421.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3331, allocations: 15.91 kB / 421.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.3332, allocations: 24.03 kB / 421.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3332, allocations: 8 kB / 421.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.3335, allocations: 189.9 kB / 421.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3335, allocations: 0 / 421.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007657/0.3342, allocations: 187.9 kB / 421.5 MB, free: 11.95 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.0007304/0.335, allocations: 263 kB / 421.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008308/0.3358, allocations: 443.1 kB / 422.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3358, allocations: 0 / 422.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.3364, allocations: 244.3 kB / 422.5 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3375, allocations: 166.8 kB / 422.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.339, allocations: 0.9779 MB / 423.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3393, allocations: 0.7841 MB / 424.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.3396, allocations: 46.95 kB / 424.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.3397, allocations: 31.44 kB / 424.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3397, allocations: 7.938 kB / 424.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of Templates: time 0.01659/0.3563, allocations: 9.563 MB / 434 MB, free: 15.43 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