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.001122/0.001122, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009909/0.0009909, allocations: 101.9 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009419/0.0009421, allocations: 59.89 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2066, allocations: 50.45 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003147/0.2098, allocations: 3.07 MB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2116, allocations: 1.407 MB / 411.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2117, allocations: 11.88 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.2121, allocations: 127.4 kB / 411.7 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.2125, allocations: 187.1 kB / 411.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2128, allocations: 139.7 kB / 412 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.2131, allocations: 434 kB / 412.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2133, allocations: 94.95 kB / 412.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2134, allocations: 163.3 kB / 412.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2136, allocations: 191.1 kB / 412.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.2136, allocations: 20 kB / 412.9 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.2138, allocations: 55.98 kB / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.2138, allocations: 71.69 kB / 413 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2139, allocations: 175 kB / 413.2 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.2142, allocations: 432 kB / 413.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2143, allocations: 4 kB / 413.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2143, allocations: 0 / 413.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2143, allocations: 0 / 413.6 MB, free: 21.27 MB / 298.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.0007625/0.215, allocations: 0.6752 MB / 414.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.2151, allocations: 12.03 kB / 414.3 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.2151, allocations: 40.47 kB / 414.3 MB, free: 20.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.2154, allocations: 328.4 kB / 414.6 MB, free: 20.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2155, allocations: 20.94 kB / 414.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.2155, allocations: 40 kB / 414.7 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.2159, allocations: 291.1 kB / 415 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2159, allocations: 0 / 415 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2159, allocations: 12 kB / 415 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2159, allocations: 8 kB / 415 MB, free: 19.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.2162, allocations: 174.1 kB / 415.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.2172, allocations: 0.8444 MB / 416 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.2176, allocations: 256.6 kB / 416.3 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.2178, allocations: 97.39 kB / 416.3 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.2178, allocations: 4.281 kB / 416.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.2181, allocations: 169.8 kB / 416.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.2181, allocations: 0 / 416.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001788/0.2199, allocations: 1.319 MB / 417.8 MB, free: 16.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.22, allocations: 183.9 kB / 418 MB, free: 16.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.2202, allocations: 336.5 kB / 418.3 MB, free: 16.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2202, allocations: 33.7 kB / 418.4 MB, free: 16.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.2203, allocations: 184.6 kB / 418.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.2204, allocations: 141.9 kB / 418.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.2205, allocations: 74.05 kB / 418.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.2205, allocations: 354.7 kB / 419.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2207, allocations: 96.77 kB / 419.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2209, allocations: 181.3 kB / 419.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.2212, allocations: 246.2 kB / 419.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2212, allocations: 0 / 419.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004313/0.2216, allocations: 362.2 kB / 420 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2216, allocations: 4.125 kB / 420 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2216, allocations: 8 kB / 420 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.902e-05/0.2217, allocations: 12.86 kB / 420 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.222, allocations: 95.83 kB / 420.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006403/0.2226, allocations: 1.288 MB / 421.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2228, allocations: 12.02 kB / 421.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2229, allocations: 16 kB / 421.4 MB, free: 12.84 MB / 298.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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.223, allocations: 171.8 kB / 421.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.223, allocations: 39.53 kB / 421.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/0.2231, allocations: 48.05 kB / 421.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2231, allocations: 4 kB / 421.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.2231, allocations: 0 / 421.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004253/0.2236, allocations: 0.6572 MB / 422.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/0.2244, allocations: 0.8457 MB / 423.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2244, allocations: 4 kB / 423.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.2247, allocations: 75.84 kB / 423.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2247, allocations: 0 / 423.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2248, allocations: 12 kB / 423.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2248, allocations: 8.062 kB / 423.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2248, allocations: 0 / 423.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.2274, allocations: 2.644 MB / 425.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.2275, allocations: 136.7 kB / 426.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.2276, allocations: 11.98 kB / 426.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2278, allocations: 12 kB / 426.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.2278, allocations: 31.77 kB / 426.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2279, allocations: 19.92 kB / 426.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.228, allocations: 239.1 kB / 426.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2281, allocations: 4 kB / 426.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004444/0.2285, allocations: 132 kB / 426.5 MB, free: 7.379 MB / 298.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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007462/0.2293, allocations: 419.6 kB / 426.9 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.2297, allocations: 363 kB / 427.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2297, allocations: 256 / 427.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.2299, allocations: 135.8 kB / 427.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.2304, allocations: 86.09 kB / 427.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.2318, allocations: 1.424 MB / 428.9 MB, free: 5.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.232, allocations: 0.8119 MB / 429.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.2321, allocations: 51.25 kB / 429.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.2322, allocations: 39.42 kB / 429.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2322, allocations: 0 / 429.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of Templates: time 0.008322/0.2406, allocations: 5.571 MB / 435.4 MB, free: 14.61 MB / 314.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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