Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001806/0.001806, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002203/0.002203, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 62.95 kB / 307 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09236, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1739/0.2663, allocations: 37.52 MB / 395 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005841/0.2722, allocations: 4.582 MB / 399.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.2724, allocations: 9.125 kB / 399.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.2732, allocations: 288.8 kB / 399.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.274, allocations: 484.7 kB / 400.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.2779, allocations: 1.634 MB / 402 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.2792, allocations: 1.288 MB / 403.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.2795, allocations: 168.1 kB / 403.5 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.2801, allocations: 466.1 kB / 403.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.2806, allocations: 406.3 kB / 404.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.2807, allocations: 49.38 kB / 404.4 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.282, allocations: 0.757 MB / 405.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.2822, allocations: 128.5 kB / 405.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.2825, allocations: 286.5 kB / 405.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.2838, allocations: 1.038 MB / 406.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2838, allocations: 1.281 kB / 406.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2838, allocations: 0 / 406.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2838, allocations: 0 / 406.6 MB, free: 7.805 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001119/0.2849, allocations: 0.7777 MB / 407.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.285, allocations: 8.875 kB / 407.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005448/0.2855, allocations: 77.91 kB / 407.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.286, allocations: 332.9 kB / 407.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.286, allocations: 36.44 kB / 407.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.2861, allocations: 38.5 kB / 407.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.2868, allocations: 475.1 kB / 408.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2868, allocations: 1.562 kB / 408.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.2868, allocations: 16.16 kB / 408.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2869, allocations: 14 kB / 408.3 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.2873, allocations: 307.3 kB / 408.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3007, allocations: 6.751 MB / 415.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.3012, allocations: 271 kB / 415.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.3014, allocations: 149.1 kB / 415.8 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.3122, allocations: 3.894 MB / 419.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3123, allocations: 34.56 kB / 419.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.3123, allocations: 0 / 419.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01176/0.3241, allocations: 2.458 MB / 422.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3241, allocations: 63.33 kB / 422.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3245, allocations: 299.2 kB / 422.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.3245, allocations: 41.69 kB / 422.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3247, allocations: 228 kB / 422.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3248, allocations: 157.7 kB / 423 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.325, allocations: 102.1 kB / 423.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3251, allocations: 346.8 kB / 423.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3254, allocations: 149.1 kB / 423.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.3258, allocations: 275.7 kB / 423.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.3265, allocations: 480.2 kB / 424.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3265, allocations: 0 / 424.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.3276, allocations: 0.5882 MB / 424.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3276, allocations: 11.94 kB / 424.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3276, allocations: 4 kB / 424.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008079/0.3357, allocations: 1.845 MB / 426.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.3361, allocations: 111.8 kB / 426.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.3383, allocations: 2.569 MB / 429.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.3386, allocations: 16 kB / 429.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.3387, allocations: 20 kB / 429.4 MB, free: 2.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.3389, allocations: 177.6 kB / 429.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.339, allocations: 35.62 kB / 429.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3402, allocations: 0.8552 MB / 430.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3402, allocations: 4 kB / 430.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.3402, allocations: 0 / 430.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/0.3413, allocations: 0.9574 MB / 431.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.3434, allocations: 1.497 MB / 433 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3435, allocations: 4 kB / 433 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.3438, allocations: 71.91 kB / 433 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/0.3472, allocations: 0.6256 MB / 433.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.3473, allocations: 12 kB / 433.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.3484, allocations: 1.284 MB / 435 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3484, allocations: 4.031 kB / 435 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.35, allocations: 1.223 MB / 436.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3502, allocations: 120.6 kB / 436.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.3502, allocations: 8 kB / 436.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3505, allocations: 8 kB / 436.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3505, allocations: 35.89 kB / 436.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.3506, allocations: 19.98 kB / 436.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.3509, allocations: 206 kB / 436.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3509, allocations: 4 kB / 436.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008687/0.3517, allocations: 235.9 kB / 436.8 MB, free: 10.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006609/0.3524, allocations: 278.3 kB / 437.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.3538, allocations: 0.7268 MB / 437.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3539, allocations: 0 / 437.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.3548, allocations: 440.1 kB / 438.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3561, allocations: 241.1 kB / 438.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.358, allocations: 1.229 MB / 439.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.3585, allocations: 0.8324 MB / 440.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.3588, allocations: 76.33 kB / 440.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.3588, allocations: 39.44 kB / 440.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3589, allocations: 0 / 440.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of Templates: time 0.02084/0.3797, allocations: 12.65 MB / 453.3 MB, free: 10.23 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches