Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 64.17 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1967/0.2991, allocations: 37.52 MB / 395.9 MB, free: 15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.3054, allocations: 4.585 MB / 400.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.3059, allocations: 5.312 kB / 400.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009362/0.3068, allocations: 294.1 kB / 400.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.308, allocations: 479.3 kB / 401.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.3127, allocations: 1.648 MB / 402.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.3146, allocations: 1.281 MB / 404.2 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.3149, allocations: 158.6 kB / 404.4 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.3159, allocations: 474.2 kB / 404.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.3166, allocations: 410 kB / 405.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.3167, allocations: 45.47 kB / 405.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.3185, allocations: 0.7619 MB / 406 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3187, allocations: 128.5 kB / 406.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.319, allocations: 281.1 kB / 406.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.3205, allocations: 1.043 MB / 407.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3205, allocations: 0 / 407.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3206, allocations: 1.25 kB / 407.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3206, allocations: 0 / 407.5 MB, free: 7.617 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.001296/0.3219, allocations: 0.7771 MB / 408.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3219, allocations: 9.406 kB / 408.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.3225, allocations: 77.91 kB / 408.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.323, allocations: 332.2 kB / 408.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.3231, allocations: 30.41 kB / 408.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.3231, allocations: 38.25 kB / 408.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.3239, allocations: 482.3 kB / 409.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3239, allocations: 9.203 kB / 409.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.324, allocations: 17.09 kB / 409.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.324, allocations: 10.31 kB / 409.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.3245, allocations: 306.4 kB / 409.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.3387, allocations: 6.741 MB / 416.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.3392, allocations: 277.7 kB / 416.6 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.3395, allocations: 155.9 kB / 416.7 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.3507, allocations: 3.889 MB / 420.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.3507, allocations: 34.56 kB / 420.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.524e-06/0.3508, allocations: 0 / 420.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01221/0.363, allocations: 2.455 MB / 423.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.3631, allocations: 59.34 kB / 423.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.3634, allocations: 303.2 kB / 423.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.3635, allocations: 41.7 kB / 423.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3637, allocations: 220 kB / 423.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3638, allocations: 161.7 kB / 423.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.364, allocations: 98.16 kB / 423.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3642, allocations: 346.8 kB / 424.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.3644, allocations: 153.1 kB / 424.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.3648, allocations: 283.7 kB / 424.7 MB, free: 8.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.3655, allocations: 468.3 kB / 425.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3656, allocations: 0 / 425.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001193/0.3668, allocations: 0.5916 MB / 425.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.3668, allocations: 11.94 kB / 425.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3668, allocations: 4 kB / 425.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008342/0.3752, allocations: 1.849 MB / 427.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.3756, allocations: 107.8 kB / 427.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.3781, allocations: 2.58 MB / 430.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3785, allocations: 15.98 kB / 430.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.3785, allocations: 24 kB / 430.3 MB, free: 2.188 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.0002793/0.3788, allocations: 173.7 kB / 430.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.3789, allocations: 35.62 kB / 430.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.3802, allocations: 0.8552 MB / 431.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3802, allocations: 7.984 kB / 431.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3802, allocations: 0 / 431.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/0.3814, allocations: 0.9613 MB / 432.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.3836, allocations: 1.485 MB / 433.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3836, allocations: 3.938 kB / 433.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3839, allocations: 79.89 kB / 433.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/0.3874, allocations: 0.6217 MB / 434.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.3875, allocations: 15.98 kB / 434.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.3886, allocations: 1.284 MB / 435.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3887, allocations: 0 / 435.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3904, allocations: 1.234 MB / 437.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.3906, allocations: 112.6 kB / 437.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.3906, allocations: 16.03 kB / 437.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.3909, allocations: 4 kB / 437.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.3909, allocations: 31.91 kB / 437.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.391, allocations: 19.98 kB / 437.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.3912, allocations: 213.9 kB / 437.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3912, allocations: 0 / 437.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008584/0.3921, allocations: 231.9 kB / 437.7 MB, free: 10.54 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.0006653/0.3928, allocations: 266.9 kB / 438 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3943, allocations: 0.7224 MB / 438.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3943, allocations: 3.938 kB / 438.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009394/0.3953, allocations: 436.4 kB / 439.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.3966, allocations: 241.7 kB / 439.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3987, allocations: 1.272 MB / 440.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.3992, allocations: 0.8363 MB / 441.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3993, allocations: 39.44 kB / 441.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3993, allocations: 0 / 441.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of Templates: time 0.01805/0.4174, allocations: 12.96 MB / 454.5 MB, free: 9.734 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches