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.001001/0.001001, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 9.453 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002089/0.000209, allocations: 8 kB / 307.7 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08261, allocations: 51.53 MB / 359.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1783/0.2609, allocations: 36.97 MB / 396.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00544/0.2664, allocations: 4.577 MB / 400.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.2668, allocations: 4.25 kB / 400.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.2676, allocations: 241.2 kB / 401 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008367/0.2684, allocations: 478.3 kB / 401.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.2723, allocations: 1.394 MB / 402.9 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.2742, allocations: 1.964 MB / 404.9 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.2745, allocations: 124.8 kB / 405 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.275, allocations: 390.8 kB / 405.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.2755, allocations: 426.1 kB / 405.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.2756, allocations: 22 kB / 405.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.277, allocations: 0.7102 MB / 406.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.2772, allocations: 113.8 kB / 406.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.2774, allocations: 273.9 kB / 406.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.2786, allocations: 1.019 MB / 407.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2786, allocations: 1.688 kB / 407.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2786, allocations: 3.938 kB / 407.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.2786, allocations: 0 / 407.9 MB, free: 8.227 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.0009573/0.2796, allocations: 0.6777 MB / 408.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2796, allocations: 8.562 kB / 408.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.2802, allocations: 82.94 kB / 408.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2806, allocations: 335.7 kB / 409 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.2807, allocations: 29.78 kB / 409 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.2807, allocations: 38.47 kB / 409.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.2814, allocations: 477.5 kB / 409.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2814, allocations: 1.344 kB / 409.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.2815, allocations: 17.72 kB / 409.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.2815, allocations: 10.81 kB / 409.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.282, allocations: 310.4 kB / 409.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.2951, allocations: 6.73 MB / 416.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.2956, allocations: 271.6 kB / 416.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2958, allocations: 160 kB / 417 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.3065, allocations: 3.875 MB / 420.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3065, allocations: 41 kB / 420.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.3065, allocations: 0 / 420.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01226/0.3188, allocations: 2.492 MB / 423.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3189, allocations: 63.34 kB / 423.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3192, allocations: 299.3 kB / 423.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.3192, allocations: 37.7 kB / 423.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3194, allocations: 224 kB / 424 MB, free: 9.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.3195, allocations: 161.7 kB / 424.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.3196, allocations: 41.7 kB / 424.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3197, allocations: 346.8 kB / 424.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.32, allocations: 157.1 kB / 424.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.3203, allocations: 279.7 kB / 425 MB, free: 8.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.321, allocations: 468.3 kB / 425.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.321, allocations: 0 / 425.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001091/0.3221, allocations: 0.5955 MB / 426.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3221, allocations: 7.938 kB / 426.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3221, allocations: 4 kB / 426.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006797/0.3289, allocations: 0.7717 MB / 426.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.3294, allocations: 111.8 kB / 426.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.3313, allocations: 2.471 MB / 429.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.3317, allocations: 31.89 kB / 429.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.3317, allocations: 20 kB / 429.5 MB, free: 3.895 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.0002228/0.3319, allocations: 189.6 kB / 429.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.332, allocations: 43.47 kB / 429.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.3333, allocations: 0.8552 MB / 430.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3333, allocations: 4 kB / 430.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3333, allocations: 4 kB / 430.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.3343, allocations: 0.9534 MB / 431.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.3364, allocations: 1.489 MB / 433 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3364, allocations: 0 / 433 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3367, allocations: 79.89 kB / 433.1 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/0.3404, allocations: 0.6449 MB / 433.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3404, allocations: 12 kB / 433.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009313/0.3414, allocations: 1.28 MB / 435 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3414, allocations: 0 / 435 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.343, allocations: 1.226 MB / 436.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3431, allocations: 124.5 kB / 436.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.3432, allocations: 12.06 kB / 436.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.3435, allocations: 27.83 kB / 436.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3436, allocations: 31.95 kB / 436.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3436, allocations: 20 kB / 436.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.3439, allocations: 213.9 kB / 436.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3439, allocations: 4 kB / 436.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008249/0.3447, allocations: 227.9 kB / 436.9 MB, free: 12.2 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.0006934/0.3454, allocations: 271.2 kB / 437.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.3466, allocations: 0.6914 MB / 437.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3467, allocations: 3.938 kB / 437.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009112/0.3476, allocations: 436.3 kB / 438.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.349, allocations: 223.2 kB / 438.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.351, allocations: 1.531 MB / 440 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3514, allocations: 0.8365 MB / 440.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.3517, allocations: 72.33 kB / 440.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.3518, allocations: 39.44 kB / 441 MB, free: 8.055 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3518, allocations: 0 / 441 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Templates: time 0.02005/0.3719, allocations: 12.1 MB / 453.1 MB, free: 12 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.0.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