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.001498/0.001499, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 210.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2242, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02594/0.2501, allocations: 27.11 MB / 437.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.2549, allocations: 4.159 MB / 441.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.2552, allocations: 4 kB / 441.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.2559, allocations: 210.7 kB / 441.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007312/0.2567, allocations: 338.1 kB / 441.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.2606, allocations: 1.474 MB / 443.2 MB, free: 220 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.2618, allocations: 0.8795 MB / 444.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.262, allocations: 108.6 kB / 444.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006314/0.2683, allocations: 4.053 MB / 448.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.2688, allocations: 274.9 kB / 448.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.2689, allocations: 32 kB / 448.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2704, allocations: 0.7259 MB / 449.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2705, allocations: 91.73 kB / 449.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.2708, allocations: 199.2 kB / 449.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2722, allocations: 0.8456 MB / 450.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2722, allocations: 3.984 kB / 450.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2722, allocations: 0 / 450.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2722, allocations: 0 / 450.4 MB, free: 9.004 MB / 366.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.001017/0.2732, allocations: 0.651 MB / 451.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2733, allocations: 12.03 kB / 451.1 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.2737, allocations: 52.55 kB / 451.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.2742, allocations: 307.6 kB / 451.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2742, allocations: 16.94 kB / 451.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.2743, allocations: 28.38 kB / 451.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.2748, allocations: 338.6 kB / 451.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2748, allocations: 0 / 451.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.2749, allocations: 16 kB / 451.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2749, allocations: 8 kB / 451.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.2752, allocations: 206 kB / 452 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.2879, allocations: 5.912 MB / 457.9 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.2883, allocations: 178.4 kB / 458.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.2884, allocations: 92.77 kB / 458.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.2987, allocations: 3.893 MB / 462.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2988, allocations: 34.56 kB / 462.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.2988, allocations: 0 / 462.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006179/0.3049, allocations: 1.417 MB / 463.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.305, allocations: 55.41 kB / 463.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3053, allocations: 258.5 kB / 463.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3054, allocations: 29.7 kB / 463.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3055, allocations: 192.1 kB / 464.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.3056, allocations: 98.58 kB / 464.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3057, allocations: 69.61 kB / 464.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3058, allocations: 334.8 kB / 464.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.306, allocations: 91.95 kB / 464.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.3062, allocations: 186.9 kB / 464.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.3067, allocations: 302.9 kB / 465.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3067, allocations: 0 / 465.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006892/0.3074, allocations: 394.7 kB / 465.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3074, allocations: 8 kB / 465.5 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3074, allocations: 3.938 kB / 465.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.3113, allocations: 0.9329 MB / 466.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3116, allocations: 67.91 kB / 466.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.3132, allocations: 1.986 MB / 468.5 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3134, allocations: 8 kB / 468.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.3135, allocations: 19.98 kB / 468.5 MB, free: 5.555 MB / 382.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.0001872/0.3136, allocations: 149.7 kB / 468.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.3137, allocations: 35.72 kB / 468.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.3145, allocations: 494.1 kB / 469.2 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3145, allocations: 4 kB / 469.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3145, allocations: 0 / 469.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006765/0.3152, allocations: 0.713 MB / 469.9 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.3165, allocations: 0.9496 MB / 470.9 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3165, allocations: 3.938 kB / 470.9 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.3167, allocations: 35.98 kB / 470.9 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.3184, allocations: 320.4 kB / 471.2 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3184, allocations: 4 kB / 471.2 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004928/0.3189, allocations: 0.6499 MB / 471.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3189, allocations: 0 / 471.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.3198, allocations: 0.7175 MB / 472.6 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.3199, allocations: 108.9 kB / 472.7 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.32, allocations: 12 kB / 472.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.3202, allocations: 4 kB / 472.7 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.3202, allocations: 15.97 kB / 472.7 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.3202, allocations: 12 kB / 472.7 MB, free: 1.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3204, allocations: 186 kB / 472.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3204, allocations: 0 / 472.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.3211, allocations: 191.8 kB / 473.1 MB, free: 0.7344 MB / 382.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.0006726/0.3218, allocations: 271.1 kB / 473.4 MB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.3226, allocations: 459.3 kB / 473.8 MB, free: 0 / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3226, allocations: 0 / 473.8 MB, free: 0 / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.3231, allocations: 235.8 kB / 474.1 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.3241, allocations: 176 kB / 474.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3254, allocations: 0.8252 MB / 475.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3258, allocations: 0.776 MB / 475.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.3259, allocations: 31.44 kB / 475.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3259, allocations: 0 / 475.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01187/0.3377, allocations: 8.424 MB / 484.3 MB, free: 5.488 MB / 398.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