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.001076/0.001076, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001005/0.001005, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 48.33 kB / 299.9 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.0836, allocations: 49.45 MB / 349.4 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1708/0.2544, allocations: 27.27 MB / 376.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.2596, allocations: 4.209 MB / 380.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.2599, allocations: 5.594 kB / 380.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.2606, allocations: 174.8 kB / 381 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.2614, allocations: 338.5 kB / 381.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.2663, allocations: 1.228 MB / 382.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.2683, allocations: 1.347 MB / 384 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.2685, allocations: 72.72 kB / 384 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.2786, allocations: 4.21 MB / 388.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.2792, allocations: 284 kB / 388.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.298e-05/0.2793, allocations: 17.28 kB / 388.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.2811, allocations: 0.7011 MB / 389.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2813, allocations: 78.09 kB / 389.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.2817, allocations: 186 kB / 389.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.2833, allocations: 0.8315 MB / 390.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2833, allocations: 3.047 kB / 390.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2833, allocations: 0 / 390.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.2833, allocations: 0 / 390.3 MB, free: 7.555 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.00144/0.2848, allocations: 0.6475 MB / 391 MB, free: 7.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2848, allocations: 8.656 kB / 391 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/0.2855, allocations: 56.14 kB / 391 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.286, allocations: 280.3 kB / 391.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.286, allocations: 24.5 kB / 391.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.2861, allocations: 30.75 kB / 391.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.2868, allocations: 344.8 kB / 391.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2868, allocations: 0.9375 kB / 391.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.2869, allocations: 12.44 kB / 391.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2869, allocations: 11.44 kB / 391.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.2874, allocations: 211.4 kB / 391.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.2996, allocations: 5.914 MB / 397.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.2999, allocations: 178.5 kB / 398 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3001, allocations: 88.92 kB / 398.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009933/0.31, allocations: 3.888 MB / 402 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.31, allocations: 41.33 kB / 402 MB, free: 14.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.3101, allocations: 3.938 kB / 402 MB, free: 14.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006287/0.3163, allocations: 1.405 MB / 403.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3164, allocations: 54.25 kB / 403.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3167, allocations: 262.8 kB / 403.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3167, allocations: 32.27 kB / 403.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3168, allocations: 181.7 kB / 404 MB, free: 13.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.3169, allocations: 90.42 kB / 404 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.317, allocations: 79.75 kB / 404.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3172, allocations: 335.2 kB / 404.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.3174, allocations: 91.97 kB / 404.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3176, allocations: 183.1 kB / 404.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.318, allocations: 295 kB / 405 MB, free: 12.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.318, allocations: 4 kB / 405 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007104/0.3187, allocations: 406.7 kB / 405.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3188, allocations: 4 kB / 405.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.3188, allocations: 4 kB / 405.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00412/0.3229, allocations: 0.932 MB / 406.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.3232, allocations: 67.84 kB / 406.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.3248, allocations: 1.883 MB / 408.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3251, allocations: 23.92 kB / 408.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.3252, allocations: 19.98 kB / 408.3 MB, free: 8.887 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.0001971/0.3254, allocations: 149.8 kB / 408.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.3255, allocations: 31.62 kB / 408.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/0.3262, allocations: 499.7 kB / 409 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3263, allocations: 4 kB / 409 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.3263, allocations: 0 / 409 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007169/0.327, allocations: 0.7317 MB / 409.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.3283, allocations: 0.9449 MB / 410.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3283, allocations: 0 / 410.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.3285, allocations: 43.97 kB / 410.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.3303, allocations: 320.4 kB / 411 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.3304, allocations: 11.98 kB / 411.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005276/0.3309, allocations: 0.6343 MB / 411.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3309, allocations: 0 / 411.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.3319, allocations: 0.7283 MB / 412.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.332, allocations: 108.7 kB / 412.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.3321, allocations: 15.88 kB / 412.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3323, allocations: 16 kB / 412.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3323, allocations: 27.97 kB / 412.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3323, allocations: 4 kB / 412.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.3325, allocations: 190 kB / 412.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3325, allocations: 0 / 412.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007411/0.3333, allocations: 187.9 kB / 413 MB, free: 4.035 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.0007097/0.334, allocations: 269 kB / 413.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.3348, allocations: 442.2 kB / 413.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3348, allocations: 3.938 kB / 413.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.3354, allocations: 240.6 kB / 413.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.3363, allocations: 167.2 kB / 414.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.3376, allocations: 0.907 MB / 415 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.338, allocations: 0.784 MB / 415.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.3382, allocations: 46.95 kB / 415.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3383, allocations: 27.44 kB / 415.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3383, allocations: 0 / 415.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of Templates: time 0.01555/0.3538, allocations: 9.618 MB / 425.4 MB, free: 7.586 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