Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008655/0.0008657, allocations: 99.7 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002081, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1905, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09818/0.2888, allocations: 84.23 MB / 493.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.289, allocations: 83.95 kB / 493.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02739/0.3164, allocations: 10.34 MB / 0.4922 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3165, allocations: 3.938 kB / 0.4922 GB, free: 12.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.3165, allocations: 8 kB / 0.4922 GB, free: 12.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001058/0.3176, allocations: 0.6606 MB / 0.4929 GB, free: 12.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3176, allocations: 8.031 kB / 0.4929 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3177, allocations: 44.38 kB / 0.4929 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.3182, allocations: 328.5 kB / 0.4932 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3183, allocations: 16.94 kB / 0.4932 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.3183, allocations: 28.31 kB / 0.4933 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.3188, allocations: 291.7 kB / 0.4935 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3188, allocations: 8.094 kB / 0.4936 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.3188, allocations: 11.94 kB / 0.4936 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3189, allocations: 8 kB / 0.4936 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.3192, allocations: 178.1 kB / 0.4937 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3205, allocations: 0.8639 MB / 0.4946 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.3211, allocations: 260.9 kB / 0.4948 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3213, allocations: 105.3 kB / 0.4949 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3213, allocations: 4.281 kB / 0.4949 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.3216, allocations: 163.2 kB / 0.4951 GB, free: 9.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.3216, allocations: 0 / 0.4951 GB, free: 9.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002328/0.324, allocations: 1.324 MB / 0.4964 GB, free: 8.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.968e-05/0.3241, allocations: 191.9 kB / 0.4966 GB, free: 7.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.3245, allocations: 332.5 kB / 0.4969 GB, free: 7.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3245, allocations: 33.7 kB / 0.4969 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3247, allocations: 188.6 kB / 0.4971 GB, free: 7.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3248, allocations: 141.9 kB / 0.4972 GB, free: 7.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.3248, allocations: 8 kB / 0.4972 GB, free: 7.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.325, allocations: 350.8 kB / 0.4976 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.3251, allocations: 88.84 kB / 0.4977 GB, free: 6.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.3254, allocations: 181.2 kB / 0.4978 GB, free: 6.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.3258, allocations: 258.2 kB / 0.4981 GB, free: 6.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3258, allocations: 0 / 0.4981 GB, free: 6.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005471/0.3264, allocations: 354.3 kB / 0.4984 GB, free: 6.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3264, allocations: 8.062 kB / 0.4984 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3264, allocations: 7.938 kB / 0.4984 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.609e-05/0.3265, allocations: 24.84 kB / 0.4985 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.3268, allocations: 91.97 kB / 0.4985 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.3278, allocations: 1.288 MB / 0.4998 GB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.328, allocations: 12 kB / 0.4998 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.328, allocations: 16 kB / 0.4998 GB, free: 4.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.3282, allocations: 168.1 kB / 0.5 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.3283, allocations: 39.53 kB / 0.5 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005702/0.3289, allocations: 353.8 kB / 0.5004 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3289, allocations: 4 kB / 0.5004 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3289, allocations: 0 / 0.5004 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005874/0.3295, allocations: 0.6606 MB / 0.501 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3307, allocations: 0.8796 MB / 0.5019 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3307, allocations: 0 / 0.5019 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.331, allocations: 79.91 kB / 0.5019 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.331, allocations: 0 / 0.5019 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.331, allocations: 11.94 kB / 0.502 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.331, allocations: 7.984 kB / 0.502 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3311, allocations: 0 / 0.502 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.3318, allocations: 0.5571 MB / 0.5025 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.332, allocations: 144.7 kB / 0.5026 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.332, allocations: 15.92 kB / 0.5027 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3322, allocations: 16 kB / 0.5027 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.3323, allocations: 27.91 kB / 0.5027 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.3323, allocations: 20.11 kB / 0.5027 GB, free: 1.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3326, allocations: 239 kB / 0.503 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3326, allocations: 3.938 kB / 0.503 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.333, allocations: 108.6 kB / 0.5031 GB, free: 0.8828 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009085/0.3339, allocations: 440.4 kB / 0.5035 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.3345, allocations: 370.2 kB / 0.5038 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3345, allocations: 0 / 0.5038 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.3348, allocations: 147.7 kB / 0.504 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1499/0.4847, allocations: 91.72 kB / 0.5041 GB, free: 94.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.4869, allocations: 1.251 MB / 0.5053 GB, free: 93.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4872, allocations: 0.8037 MB / 0.5061 GB, free: 92.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.4875, allocations: 48.92 kB / 0.5061 GB, free: 92.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.4876, allocations: 36.05 kB / 0.5061 GB, free: 92.89 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4876, allocations: 0.5312 kB / 0.5061 GB, free: 92.89 MB / 378.7 MB Notification: Performance of Templates: time 0.009114/0.4967, allocations: 5.026 MB / 0.5111 GB, free: 92.64 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches