Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001976, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.67 kB / 306.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09762, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1921/0.2898, allocations: 27.35 MB / 384.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.2939, allocations: 4.213 MB / 389 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.2943, allocations: 7.906 kB / 389 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006821/0.2951, allocations: 178.1 kB / 389.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007256/0.2958, allocations: 327.5 kB / 389.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.2998, allocations: 1.239 MB / 390.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.3014, allocations: 1.338 MB / 392.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.3016, allocations: 72.38 kB / 392.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007727/0.3094, allocations: 4.217 MB / 396.4 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.3099, allocations: 284.6 kB / 396.6 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.3099, allocations: 15.97 kB / 396.7 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.3115, allocations: 0.6984 MB / 397.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3116, allocations: 85.12 kB / 397.4 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.3118, allocations: 178 kB / 397.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.3126, allocations: 0.6116 MB / 398.2 MB, free: 200 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3126, allocations: 0 / 398.2 MB, free: 200 kB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3126, allocations: 0 / 398.2 MB, free: 200 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.3126, allocations: 0 / 398.2 MB, free: 200 kB / 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.001028/0.3136, allocations: 0.652 MB / 398.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3137, allocations: 14.16 kB / 398.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/0.3142, allocations: 56.81 kB / 398.9 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.3145, allocations: 283.8 kB / 399.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.3146, allocations: 23.09 kB / 399.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.3146, allocations: 26.81 kB / 399.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.3151, allocations: 341.3 kB / 399.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3152, allocations: 1.406 kB / 399.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3152, allocations: 16.17 kB / 399.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3152, allocations: 7.375 kB / 399.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3156, allocations: 215.1 kB / 399.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.3291, allocations: 5.908 MB / 405.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.3295, allocations: 169.3 kB / 405.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3296, allocations: 94.58 kB / 406 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.3409, allocations: 3.883 MB / 409.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.341, allocations: 34.56 kB / 409.9 MB, free: 6.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.341, allocations: 0 / 409.9 MB, free: 6.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006795/0.3478, allocations: 1.422 MB / 411.3 MB, free: 5.395 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3479, allocations: 55.41 kB / 411.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3482, allocations: 266.5 kB / 411.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.3482, allocations: 33.7 kB / 411.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3483, allocations: 184.1 kB / 411.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3484, allocations: 94.73 kB / 412 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3485, allocations: 65.61 kB / 412 MB, free: 4.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3486, allocations: 334.8 kB / 412.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3488, allocations: 95.95 kB / 412.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.349, allocations: 178.9 kB / 412.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.3495, allocations: 313.5 kB / 412.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3495, allocations: 4 kB / 412.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007187/0.3502, allocations: 390.7 kB / 413.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3502, allocations: 8.375 kB / 413.3 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3503, allocations: 8 kB / 413.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/0.3546, allocations: 0.9291 MB / 414.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.355, allocations: 75.84 kB / 414.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.3565, allocations: 1.871 MB / 416.2 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3569, allocations: 31.98 kB / 416.2 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.3569, allocations: 18.81 kB / 416.3 MB, free: 200 kB / 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.0002/0.3571, allocations: 157.7 kB / 416.4 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.3572, allocations: 27.62 kB / 416.4 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/0.358, allocations: 0.5016 MB / 416.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.3581, allocations: 4 kB / 416.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3581, allocations: 0 / 416.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006577/0.3587, allocations: 0.716 MB / 417.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.3601, allocations: 0.9382 MB / 418.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3601, allocations: 0 / 418.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3603, allocations: 44.02 kB / 418.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.3623, allocations: 324.2 kB / 419 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.3623, allocations: 8 kB / 419 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005341/0.3628, allocations: 0.6461 MB / 419.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3629, allocations: 0 / 419.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.3638, allocations: 0.7169 MB / 420.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.364, allocations: 108.7 kB / 420.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.3641, allocations: 7.938 kB / 420.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3643, allocations: 20.11 kB / 420.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.3644, allocations: 11.98 kB / 420.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.3644, allocations: 15.98 kB / 420.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.3646, allocations: 185.9 kB / 420.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3646, allocations: 0 / 420.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.3654, allocations: 187.9 kB / 420.9 MB, free: 11.35 MB / 334.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.000743/0.3662, allocations: 271.7 kB / 421.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008466/0.367, allocations: 443.9 kB / 421.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.367, allocations: 4 kB / 421.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.3676, allocations: 243.5 kB / 421.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3687, allocations: 166 kB / 422 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3702, allocations: 0.9458 MB / 422.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3706, allocations: 0.7763 MB / 423.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.3707, allocations: 35.42 kB / 423.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of SimCode: time 2.895e-06/0.3707, allocations: 0 / 423.7 MB, free: 8.418 MB / 334.1 MB Notification: Performance of Templates: time 0.0124/0.3831, allocations: 8.379 MB / 432.1 MB, free: 48 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches