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.001235/0.001235, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 205.8 kB / 18.79 MB, free: 4.102 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.428/1.428, allocations: 230.4 MB / 250 MB, free: 8.98 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.001896/0.001896, allocations: 67.83 kB / 367.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2321, allocations: 53.31 MB / 420.7 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03951/0.2716, allocations: 37.67 MB / 458.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005916/0.2776, allocations: 4.584 MB / 462.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.278, allocations: 11.94 kB / 463 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.2789, allocations: 298.2 kB / 463.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.28, allocations: 489.3 kB / 463.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004445/0.2844, allocations: 1.649 MB / 465.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.286, allocations: 1.276 MB / 466.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.2863, allocations: 126.6 kB / 466.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.2871, allocations: 482.5 kB / 467.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/0.2878, allocations: 434.3 kB / 467.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2879, allocations: 44 kB / 467.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.2896, allocations: 0.7649 MB / 468.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.2898, allocations: 135.5 kB / 468.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004092/0.2902, allocations: 278.9 kB / 468.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2919, allocations: 1.052 MB / 469.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2919, allocations: 0 / 469.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2919, allocations: 0 / 469.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.2919, allocations: 4 kB / 469.9 MB, free: 6.887 MB / 382.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.001342/0.2932, allocations: 0.7867 MB / 470.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2933, allocations: 8.031 kB / 470.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.2939, allocations: 80.62 kB / 470.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.2945, allocations: 339.6 kB / 471.1 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.2945, allocations: 37.31 kB / 471.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.2946, allocations: 40.36 kB / 471.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.2953, allocations: 475.6 kB / 471.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2953, allocations: 4 kB / 471.7 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.2954, allocations: 19.94 kB / 471.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.2954, allocations: 12 kB / 471.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.2959, allocations: 303.7 kB / 472 MB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.3104, allocations: 6.746 MB / 478.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.3109, allocations: 251.4 kB / 479 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.3111, allocations: 140.8 kB / 479.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.3224, allocations: 3.896 MB / 483 MB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.3224, allocations: 39.16 kB / 483.1 MB, free: 8.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.575e-06/0.3224, allocations: 0 / 483.1 MB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01239/0.3348, allocations: 2.46 MB / 485.5 MB, free: 6.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3349, allocations: 55.41 kB / 485.6 MB, free: 6.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.3352, allocations: 295.3 kB / 485.9 MB, free: 5.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3353, allocations: 41.64 kB / 485.9 MB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.3355, allocations: 232.5 kB / 486.2 MB, free: 5.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3356, allocations: 170.6 kB / 486.3 MB, free: 5.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3358, allocations: 98.2 kB / 486.4 MB, free: 5.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3359, allocations: 346.8 kB / 486.8 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.3362, allocations: 149.1 kB / 486.9 MB, free: 4.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.3366, allocations: 279.7 kB / 487.2 MB, free: 4.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.3373, allocations: 476.2 kB / 487.6 MB, free: 3.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3373, allocations: 0 / 487.6 MB, free: 3.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001187/0.3385, allocations: 0.5841 MB / 488.2 MB, free: 3.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3385, allocations: 15.92 kB / 488.2 MB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3385, allocations: 4 kB / 488.2 MB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/0.347, allocations: 1.85 MB / 490.1 MB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.3475, allocations: 107.8 kB / 490.2 MB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.3498, allocations: 2.564 MB / 492.8 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3501, allocations: 12 kB / 492.8 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.3502, allocations: 31.92 kB / 492.8 MB, free: 14.57 MB / 414.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.000246/0.3504, allocations: 177.7 kB / 493 MB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3505, allocations: 43.77 kB / 493 MB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.3519, allocations: 0.8513 MB / 493.9 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3519, allocations: 7.984 kB / 493.9 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3519, allocations: 4 kB / 493.9 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.353, allocations: 0.9535 MB / 494.8 MB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3552, allocations: 1.486 MB / 496.3 MB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3552, allocations: 0 / 496.3 MB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.3555, allocations: 79.89 kB / 496.4 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/0.3591, allocations: 0.6179 MB / 497 MB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.3591, allocations: 19.94 kB / 497 MB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3602, allocations: 1.281 MB / 498.3 MB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3602, allocations: 0 / 498.3 MB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.362, allocations: 1.221 MB / 499.5 MB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.3621, allocations: 124.9 kB / 499.7 MB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.3622, allocations: 12 kB / 499.7 MB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3625, allocations: 16.22 kB / 499.7 MB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3625, allocations: 23.95 kB / 499.7 MB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.3626, allocations: 23.92 kB / 499.7 MB, free: 7.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.3628, allocations: 210 kB / 499.9 MB, free: 7.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3628, allocations: 0 / 499.9 MB, free: 7.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007738/0.3636, allocations: 231.7 kB / 0.4884 GB, free: 6.938 MB / 414.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.0006721/0.3643, allocations: 282.8 kB / 0.4887 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.3656, allocations: 0.6827 MB / 0.4894 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.3656, allocations: 0 / 0.4894 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009641/0.3666, allocations: 416.3 kB / 0.4898 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3678, allocations: 232.8 kB / 0.49 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3699, allocations: 1.237 MB / 0.4912 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.3703, allocations: 0.8363 MB / 0.492 GB, free: 3.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.3706, allocations: 68.34 kB / 0.4921 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.3707, allocations: 51.36 kB / 0.4921 GB, free: 3.07 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3707, allocations: 0 / 0.4921 GB, free: 3.07 MB / 414.1 MB Notification: Performance of Templates: time 0.02354/0.3943, allocations: 12.86 MB / 0.5047 GB, free: 6.297 MB / 430.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/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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches