Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009497/0.0009499, allocations: 84.8 kB / 16.31 MB, free: 6.457 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.001087/0.001087, allocations: 183.9 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 241.2 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002555, allocations: 4 kB / 300.8 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08657, allocations: 50.42 MB / 351.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1738/0.2604, allocations: 24.9 MB / 376.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.2644, allocations: 3.881 MB / 380 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.2646, allocations: 5.75 kB / 380 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.2651, allocations: 160.5 kB / 380.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.2657, allocations: 322.5 kB / 380.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.2689, allocations: 1.139 MB / 381.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2704, allocations: 1.11 MB / 382.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.2706, allocations: 79.12 kB / 382.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.2815, allocations: 7.492 MB / 390.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.282, allocations: 257.3 kB / 390.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.2821, allocations: 15.53 kB / 390.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.2835, allocations: 0.6806 MB / 391.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2836, allocations: 74.45 kB / 391.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.2837, allocations: 102.3 kB / 391.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.2844, allocations: 0.6005 MB / 392 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2844, allocations: 1.625 kB / 392 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2844, allocations: 0 / 392 MB, free: 8.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2844, allocations: 0 / 392 MB, free: 8.652 MB / 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.0007556/0.2852, allocations: 0.5822 MB / 392.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2852, allocations: 11.92 kB / 392.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.2857, allocations: 62.25 kB / 392.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.286, allocations: 275.4 kB / 393 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.286, allocations: 22.88 kB / 393 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.286, allocations: 28.5 kB / 393 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.2865, allocations: 339 kB / 393.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2865, allocations: 0 / 393.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.2865, allocations: 10.03 kB / 393.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2866, allocations: 9.688 kB / 393.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.2868, allocations: 208.5 kB / 393.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.297, allocations: 5.908 MB / 399.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.2973, allocations: 177.9 kB / 399.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.2974, allocations: 99.47 kB / 399.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00877/0.3062, allocations: 3.868 MB / 403.6 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3062, allocations: 42.73 kB / 403.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.3063, allocations: 0 / 403.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006069/0.3123, allocations: 1.411 MB / 405.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3124, allocations: 59.41 kB / 405.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.3127, allocations: 258.6 kB / 405.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3127, allocations: 33.64 kB / 405.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3128, allocations: 190.9 kB / 405.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.3129, allocations: 96.62 kB / 405.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.3129, allocations: 4 kB / 405.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.313, allocations: 342.8 kB / 406 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3132, allocations: 95.73 kB / 406.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3134, allocations: 175.1 kB / 406.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.3136, allocations: 123.9 kB / 406.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3136, allocations: 0 / 406.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00067/0.3143, allocations: 387.2 kB / 406.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3143, allocations: 14.19 kB / 406.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3144, allocations: 4 kB / 406.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.3175, allocations: 405.2 kB / 407.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3177, allocations: 71.91 kB / 407.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3192, allocations: 1.872 MB / 409.2 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3194, allocations: 23.92 kB / 409.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3194, allocations: 16 kB / 409.2 MB, free: 9.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.3196, allocations: 162.5 kB / 409.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.3197, allocations: 27.72 kB / 409.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007066/0.3204, allocations: 488.2 kB / 409.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3204, allocations: 15.94 kB / 409.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3204, allocations: 0 / 409.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000633/0.3211, allocations: 0.7202 MB / 410.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.3223, allocations: 0.9408 MB / 411.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3223, allocations: 3.984 kB / 411.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.3226, allocations: 43.92 kB / 411.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001633/0.3242, allocations: 327.2 kB / 411.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.3242, allocations: 11.98 kB / 411.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004473/0.3247, allocations: 0.6344 MB / 412.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3247, allocations: 3.938 kB / 412.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.3256, allocations: 0.7284 MB / 413.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.3257, allocations: 108.7 kB / 413.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.3257, allocations: 8 kB / 413.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.326, allocations: 16.12 kB / 413.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.326, allocations: 15.97 kB / 413.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.326, allocations: 16 kB / 413.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.3262, allocations: 185.9 kB / 413.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3262, allocations: 0 / 413.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006891/0.3269, allocations: 187.9 kB / 413.8 MB, free: 4.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005357/0.3274, allocations: 275.6 kB / 414.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.3282, allocations: 462.2 kB / 414.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3282, allocations: 4.75 kB / 414.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.3287, allocations: 227.7 kB / 414.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.3296, allocations: 167 kB / 414.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3309, allocations: 0.9487 MB / 415.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3312, allocations: 0.7802 MB / 416.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.3314, allocations: 54.94 kB / 416.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3315, allocations: 27.44 kB / 416.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3315, allocations: 0 / 416.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of Templates: time 0.01515/0.3466, allocations: 9.387 MB / 426.1 MB, free: 8.359 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches