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.001041/0.001041, allocations: 99.67 kB / 17.3 MB, free: 6.395 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.001324/0.001324, allocations: 178.5 kB / 18.2 MB, free: 5.555 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.351/1.351, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004364/0.0004368, allocations: 12 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08096/0.08141, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02416/0.1056, allocations: 26.62 MB / 355.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.1103, allocations: 4.144 MB / 359.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.1108, allocations: 7.938 kB / 359.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.1116, allocations: 175 kB / 359.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008037/0.1124, allocations: 330.4 kB / 360.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.1163, allocations: 1.241 MB / 361.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.1177, allocations: 1.332 MB / 362.8 MB, free: 1.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1179, allocations: 84.67 kB / 362.9 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006698/0.1246, allocations: 4.207 MB / 367.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.1251, allocations: 282.8 kB / 367.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.1252, allocations: 16 kB / 367.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.1266, allocations: 0.6907 MB / 368.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1268, allocations: 79.66 kB / 368.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.127, allocations: 197 kB / 368.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1282, allocations: 0.8104 MB / 369.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1282, allocations: 0 / 369.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1283, allocations: 0 / 369.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.1283, allocations: 4 kB / 369.1 MB, free: 11.43 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.0008436/0.1291, allocations: 0.5886 MB / 369.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1292, allocations: 12.03 kB / 369.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.1296, allocations: 60.53 kB / 369.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.13, allocations: 279.8 kB / 370.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.13, allocations: 20.94 kB / 370.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.1301, allocations: 32.22 kB / 370.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1306, allocations: 350.6 kB / 370.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1306, allocations: 0 / 370.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1307, allocations: 12 kB / 370.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1307, allocations: 12 kB / 370.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.131, allocations: 206 kB / 370.7 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/0.1438, allocations: 5.916 MB / 376.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.1442, allocations: 170.6 kB / 376.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1444, allocations: 88.83 kB / 376.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1544/0.2988, allocations: 3.87 MB / 380.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.2989, allocations: 34.88 kB / 380.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.2989, allocations: 0 / 380.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006164/0.3051, allocations: 1.417 MB / 382.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.3051, allocations: 54.22 kB / 382.2 MB, free: 56.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3054, allocations: 259.6 kB / 382.5 MB, free: 56.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3054, allocations: 33.92 kB / 382.5 MB, free: 56.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3055, allocations: 188.3 kB / 382.7 MB, free: 56.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.3055, allocations: 94.03 kB / 382.8 MB, free: 55.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.3056, allocations: 34.23 kB / 382.8 MB, free: 55.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.3056, allocations: 340.8 kB / 383.2 MB, free: 55.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3058, allocations: 94.34 kB / 383.3 MB, free: 55.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.306, allocations: 189.2 kB / 383.4 MB, free: 55.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.3064, allocations: 302.6 kB / 383.7 MB, free: 55.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3064, allocations: 5.469 kB / 383.7 MB, free: 55.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006767/0.3071, allocations: 390.3 kB / 384.1 MB, free: 55.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3071, allocations: 8.188 kB / 384.1 MB, free: 55.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3071, allocations: 1.375 kB / 384.1 MB, free: 55.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/0.3105, allocations: 412.4 kB / 384.5 MB, free: 55.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.3108, allocations: 70.59 kB / 384.6 MB, free: 55.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.3119, allocations: 1.878 MB / 386.5 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.3121, allocations: 22.52 kB / 386.5 MB, free: 53.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.3122, allocations: 20.41 kB / 386.5 MB, free: 53.52 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.0001368/0.3123, allocations: 155 kB / 386.7 MB, free: 53.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.3124, allocations: 30.75 kB / 386.7 MB, free: 53.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.313, allocations: 498 kB / 387.2 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3131, allocations: 5.484 kB / 387.2 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3131, allocations: 0 / 387.2 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005249/0.3136, allocations: 0.7203 MB / 387.9 MB, free: 52.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3147, allocations: 0.9457 MB / 388.9 MB, free: 51.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3147, allocations: 0 / 388.9 MB, free: 51.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.3149, allocations: 49.48 kB / 388.9 MB, free: 51.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.3167, allocations: 337.6 kB / 389.2 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.3167, allocations: 7.172 kB / 389.3 MB, free: 51.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003536/0.3171, allocations: 0.6369 MB / 389.9 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3171, allocations: 3.438 kB / 389.9 MB, free: 51.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/0.318, allocations: 0.7292 MB / 390.6 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.3181, allocations: 104.1 kB / 390.7 MB, free: 50.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.3181, allocations: 6.125 kB / 390.7 MB, free: 50.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.3183, allocations: 20.16 kB / 390.8 MB, free: 50.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3184, allocations: 15.69 kB / 390.8 MB, free: 50.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3184, allocations: 17.17 kB / 390.8 MB, free: 50.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3186, allocations: 182.8 kB / 391 MB, free: 50.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3186, allocations: 0 / 391 MB, free: 50.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000669/0.3193, allocations: 190.3 kB / 391.1 MB, free: 50.61 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.0005727/0.3198, allocations: 272.3 kB / 391.4 MB, free: 50.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.3206, allocations: 448.2 kB / 391.9 MB, free: 50.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.3206, allocations: 0.75 kB / 391.9 MB, free: 50.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.321, allocations: 236.5 kB / 392.1 MB, free: 50.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009872/0.322, allocations: 167.3 kB / 392.2 MB, free: 50.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3232, allocations: 0.979 MB / 393.2 MB, free: 49.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3234, allocations: 0.778 MB / 394 MB, free: 48.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.3236, allocations: 53.25 kB / 394.1 MB, free: 48.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.3237, allocations: 28.84 kB / 394.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3237, allocations: 1.25 kB / 394.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01295/0.3367, allocations: 9.56 MB / 403.6 MB, free: 42.73 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","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches