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.0007591/0.0007591, allocations: 92.83 kB / 16.65 MB, free: 6.535 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.0008277/0.0008278, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.302/1.302, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.000243, allocations: 4 kB / 301.4 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08205, allocations: 50.41 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1816/0.2637, allocations: 26.59 MB / 378.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.2676, allocations: 4.158 MB / 382.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.268, allocations: 3.469 kB / 382.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.2685, allocations: 178 kB / 382.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.2692, allocations: 333.8 kB / 383.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.2728, allocations: 1.225 MB / 384.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2743, allocations: 1.342 MB / 385.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.2744, allocations: 70.7 kB / 385.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006715/0.2812, allocations: 4.209 MB / 389.9 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.2816, allocations: 290.5 kB / 390.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.2816, allocations: 14.53 kB / 390.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.283, allocations: 0.6986 MB / 390.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.2831, allocations: 83.64 kB / 391 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2833, allocations: 196.1 kB / 391.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.2843, allocations: 0.8199 MB / 392 MB, free: 7.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2843, allocations: 0.875 kB / 392 MB, free: 7.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2843, allocations: 4 kB / 392 MB, free: 7.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2843, allocations: 0 / 392 MB, free: 7.613 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.0007019/0.285, allocations: 0.5837 MB / 392.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2851, allocations: 8.875 kB / 392.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.2855, allocations: 57.97 kB / 392.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.2858, allocations: 277.4 kB / 392.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2858, allocations: 20.5 kB / 393 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.2859, allocations: 35.59 kB / 393 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.2863, allocations: 340.2 kB / 393.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2863, allocations: 1.062 kB / 393.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.2864, allocations: 20.09 kB / 393.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2864, allocations: 7.188 kB / 393.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.2867, allocations: 207.7 kB / 393.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.2984, allocations: 5.909 MB / 399.5 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.2987, allocations: 177.2 kB / 399.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2988, allocations: 89.89 kB / 399.7 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.3089, allocations: 3.874 MB / 403.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.309, allocations: 37.92 kB / 403.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.309, allocations: 0 / 403.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006351/0.3153, allocations: 1.427 MB / 405.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3154, allocations: 54.75 kB / 405.1 MB, free: 13.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3157, allocations: 258.2 kB / 405.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3157, allocations: 31.83 kB / 405.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3158, allocations: 191.8 kB / 405.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.3159, allocations: 89.78 kB / 405.7 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.316, allocations: 36.45 kB / 405.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3161, allocations: 335.6 kB / 406 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3162, allocations: 98.02 kB / 406.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3164, allocations: 177.5 kB / 406.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.3168, allocations: 303.2 kB / 406.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3168, allocations: 4 kB / 406.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006835/0.3175, allocations: 398.7 kB / 407 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3176, allocations: 8 kB / 407 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3176, allocations: 4 kB / 407 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/0.3211, allocations: 405.7 kB / 407.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3214, allocations: 71.84 kB / 407.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3229, allocations: 1.871 MB / 409.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.3231, allocations: 28.11 kB / 409.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3232, allocations: 16 kB / 409.4 MB, free: 9.742 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.0001876/0.3234, allocations: 157.7 kB / 409.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.3235, allocations: 31.62 kB / 409.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007501/0.3242, allocations: 495.6 kB / 410.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3242, allocations: 7.984 kB / 410.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3242, allocations: 0 / 410.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006627/0.3249, allocations: 0.724 MB / 410.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.3263, allocations: 0.951 MB / 411.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3263, allocations: 0 / 411.7 MB, free: 7.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.3265, allocations: 43.92 kB / 411.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001894/0.3284, allocations: 324.4 kB / 412.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.3284, allocations: 7.984 kB / 412.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005125/0.3289, allocations: 0.6382 MB / 412.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.329, allocations: 4.031 kB / 412.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000958/0.3299, allocations: 0.7322 MB / 413.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3301, allocations: 108.7 kB / 413.6 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.3301, allocations: 11.94 kB / 413.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.3303, allocations: 11.94 kB / 413.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.3304, allocations: 23.91 kB / 413.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3304, allocations: 8 kB / 413.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3306, allocations: 190 kB / 413.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3306, allocations: 4 kB / 413.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007784/0.3314, allocations: 183.9 kB / 414 MB, free: 4.879 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.0007069/0.3321, allocations: 267 kB / 414.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007652/0.3329, allocations: 458.8 kB / 414.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3329, allocations: 0 / 414.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.3334, allocations: 223.8 kB / 414.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3346, allocations: 177.2 kB / 415.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3359, allocations: 0.9736 MB / 416.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3362, allocations: 0.7801 MB / 416.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.3365, allocations: 46.94 kB / 416.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3365, allocations: 31.42 kB / 416.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3365, allocations: 0 / 416.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of Templates: time 0.01606/0.3526, allocations: 9.572 MB / 426.5 MB, free: 8.395 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