Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 100.2 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 51.92 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0872/0.08843, allocations: 46.64 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02553/0.114, allocations: 27.05 MB / 354.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.1188, allocations: 4.151 MB / 358.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.1191, allocations: 11.94 kB / 358.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007154/0.1199, allocations: 210.7 kB / 358.7 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000658/0.1206, allocations: 330.2 kB / 359 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.1252, allocations: 1.478 MB / 360.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.1261, allocations: 0.8835 MB / 361.4 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1263, allocations: 100.7 kB / 361.5 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.1318, allocations: 4.053 MB / 365.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.1322, allocations: 274.9 kB / 365.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.1322, allocations: 32 kB / 365.8 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.1336, allocations: 0.7259 MB / 366.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1337, allocations: 91.72 kB / 366.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.1339, allocations: 195.2 kB / 366.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.1349, allocations: 0.8417 MB / 367.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1349, allocations: 4 kB / 367.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1349, allocations: 0 / 367.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.135, allocations: 0 / 367.7 MB, free: 11.93 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.0009243/0.1359, allocations: 0.651 MB / 368.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1359, allocations: 12.03 kB / 368.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.1364, allocations: 56.53 kB / 368.4 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.1367, allocations: 295.7 kB / 368.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1367, allocations: 16.94 kB / 368.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.1368, allocations: 28.38 kB / 368.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.1372, allocations: 338.6 kB / 369.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1372, allocations: 0 / 369.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1373, allocations: 16 kB / 369.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1373, allocations: 8 kB / 369.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.1376, allocations: 210 kB / 369.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.1497, allocations: 5.919 MB / 375.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.15, allocations: 178.6 kB / 375.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1502, allocations: 88.83 kB / 375.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1574/0.3076, allocations: 3.883 MB / 379.3 MB, free: 57.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.3077, allocations: 36.92 kB / 379.4 MB, free: 57.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.3077, allocations: 0 / 379.4 MB, free: 57.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006091/0.3138, allocations: 1.409 MB / 380.8 MB, free: 57.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3138, allocations: 55.3 kB / 380.8 MB, free: 57.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.3141, allocations: 260.7 kB / 381.1 MB, free: 57.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3142, allocations: 34.8 kB / 381.1 MB, free: 57.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.3143, allocations: 184 kB / 381.3 MB, free: 57.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.3143, allocations: 94.97 kB / 381.4 MB, free: 57.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.3144, allocations: 63.25 kB / 381.5 MB, free: 57.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.3145, allocations: 339.8 kB / 381.8 MB, free: 56.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3147, allocations: 94.88 kB / 381.9 MB, free: 56.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3149, allocations: 189.8 kB / 382.1 MB, free: 56.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3152, allocations: 303.6 kB / 382.4 MB, free: 56.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3152, allocations: 1.25 kB / 382.4 MB, free: 56.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006621/0.3159, allocations: 394 kB / 382.8 MB, free: 56.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3159, allocations: 6.906 kB / 382.8 MB, free: 56.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3159, allocations: 3.391 kB / 382.8 MB, free: 56.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004123/0.3201, allocations: 0.9367 MB / 383.7 MB, free: 56.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3204, allocations: 69.33 kB / 383.8 MB, free: 56.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.3216, allocations: 1.989 MB / 385.8 MB, free: 54.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.3218, allocations: 8.656 kB / 385.8 MB, free: 54.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.3219, allocations: 16.7 kB / 385.8 MB, free: 54.3 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.0001498/0.322, allocations: 152.3 kB / 385.9 MB, free: 54.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.3221, allocations: 29.72 kB / 386 MB, free: 54.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.3228, allocations: 496.5 kB / 386.5 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3228, allocations: 8.406 kB / 386.5 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3228, allocations: 0 / 386.5 MB, free: 53.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005594/0.3234, allocations: 0.7234 MB / 387.2 MB, free: 53.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3245, allocations: 0.9415 MB / 388.1 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3246, allocations: 2.578 kB / 388.1 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3247, allocations: 42.7 kB / 388.2 MB, free: 52.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.3265, allocations: 327.2 kB / 388.5 MB, free: 52.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.3265, allocations: 8.125 kB / 388.5 MB, free: 52.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003532/0.3269, allocations: 0.6428 MB / 389.1 MB, free: 52.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3269, allocations: 5.25 kB / 389.1 MB, free: 52.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.3277, allocations: 0.7153 MB / 389.9 MB, free: 51.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.3278, allocations: 110.3 kB / 390 MB, free: 51.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3278, allocations: 6.344 kB / 390 MB, free: 51.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.328, allocations: 10.72 kB / 390 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3281, allocations: 19.09 kB / 390 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3281, allocations: 12.47 kB / 390 MB, free: 51.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.3283, allocations: 182.7 kB / 390.2 MB, free: 51.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3283, allocations: 0 / 390.2 MB, free: 51.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006325/0.3289, allocations: 186.4 kB / 390.4 MB, free: 51.39 MB / 318.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.0005667/0.3295, allocations: 270.5 kB / 390.6 MB, free: 51.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.3303, allocations: 465.1 kB / 391.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3303, allocations: 1.312 kB / 391.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.3308, allocations: 235.2 kB / 391.3 MB, free: 50.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.3318, allocations: 175.8 kB / 391.5 MB, free: 50.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.333, allocations: 0.7949 MB / 392.3 MB, free: 50.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3332, allocations: 0.7754 MB / 393.1 MB, free: 49.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.3334, allocations: 51.48 kB / 393.1 MB, free: 49.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3335, allocations: 32.81 kB / 393.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3335, allocations: 0 / 393.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of Templates: time 0.01411/0.3476, allocations: 9.924 MB / 403.1 MB, free: 42.98 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches