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/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.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/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 115.9 kB / 18.4 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 203.5 kB / 19.34 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 61.09 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09298, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00451/0.09753, allocations: 3.012 MB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.09994, allocations: 1.406 MB / 363.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1001, allocations: 11.94 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.1006, allocations: 143.1 kB / 363.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.1011, allocations: 214.7 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.1014, allocations: 139.6 kB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1019, allocations: 454 kB / 364.3 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1021, allocations: 103.8 kB / 364.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1023, allocations: 175.3 kB / 364.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1025, allocations: 195.1 kB / 364.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.1026, allocations: 28 kB / 364.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1027, allocations: 59.98 kB / 364.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.1028, allocations: 87.62 kB / 364.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.103, allocations: 183 kB / 365.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1034, allocations: 450.4 kB / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1034, allocations: 0 / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1034, allocations: 0 / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1034, allocations: 0 / 365.5 MB, free: 6.672 MB / 302.1 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.001005/0.1045, allocations: 0.6868 MB / 366.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1045, allocations: 8.031 kB / 366.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.53e-05/0.1046, allocations: 40.47 kB / 366.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.1051, allocations: 320.5 kB / 366.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1051, allocations: 16.94 kB / 366.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.1052, allocations: 44.02 kB / 366.6 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.1056, allocations: 283.1 kB / 366.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1057, allocations: 4 kB / 366.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1057, allocations: 15.98 kB / 366.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1057, allocations: 11.94 kB / 366.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.106, allocations: 174.1 kB / 367.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1072, allocations: 0.8366 MB / 367.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.1078, allocations: 259.4 kB / 368.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.108, allocations: 101.4 kB / 368.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.108, allocations: 4.281 kB / 368.3 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.1083, allocations: 162.6 kB / 368.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.1083, allocations: 3.938 kB / 368.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00216/0.1105, allocations: 1.316 MB / 369.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.1106, allocations: 183.9 kB / 369.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.1109, allocations: 340.5 kB / 370.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1109, allocations: 33.7 kB / 370.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.1111, allocations: 188.6 kB / 370.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.1112, allocations: 138 kB / 370.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1113, allocations: 70.14 kB / 370.7 MB, free: 1.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1114, allocations: 350.8 kB / 371 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1116, allocations: 84.83 kB / 371.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1118, allocations: 185.2 kB / 371.3 MB, free: 460 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.1122, allocations: 254.2 kB / 371.5 MB, free: 192 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1122, allocations: 4 kB / 371.6 MB, free: 188 kB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.1633/0.2755, allocations: 343.6 kB / 371.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2756, allocations: 6.156 kB / 371.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2756, allocations: 5.188 kB / 371.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.2757, allocations: 19.78 kB / 371.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.276, allocations: 87.83 kB / 372 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.2769, allocations: 1.391 MB / 373.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.2771, allocations: 15.92 kB / 373.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2771, allocations: 14 kB / 373.4 MB, free: 18.75 MB / 302.1 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.000182/0.2773, allocations: 166.9 kB / 373.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.2774, allocations: 45.52 kB / 373.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.2775, allocations: 46.41 kB / 373.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2775, allocations: 4.672 kB / 373.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2775, allocations: 4.125 kB / 373.7 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004831/0.278, allocations: 0.6592 MB / 374.3 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.279, allocations: 0.8428 MB / 375.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.279, allocations: 1.859 kB / 375.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.2793, allocations: 78.09 kB / 375.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2793, allocations: 2.844 kB / 375.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2794, allocations: 7.25 kB / 375.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2794, allocations: 3.406 kB / 375.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2794, allocations: 6.656 kB / 375.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.2801, allocations: 0.5583 MB / 375.8 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2802, allocations: 139.1 kB / 376 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.2803, allocations: 9.781 kB / 376 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2805, allocations: 17.67 kB / 376 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.2806, allocations: 28.61 kB / 376 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.2806, allocations: 15.33 kB / 376 MB, free: 17.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.2808, allocations: 239.5 kB / 376.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2808, allocations: 4.469 kB / 376.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.2812, allocations: 98.14 kB / 376.4 MB, free: 17.27 MB / 302.1 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.0009083/0.2822, allocations: 424.3 kB / 376.8 MB, free: 17.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.2827, allocations: 369.8 kB / 377.2 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2828, allocations: 1.375 kB / 377.2 MB, free: 16.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.283, allocations: 134.5 kB / 377.3 MB, free: 16.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.2835, allocations: 92.59 kB / 377.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2849, allocations: 1.024 MB / 378.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2851, allocations: 0.7983 MB / 379.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.2853, allocations: 50.81 kB / 379.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.2854, allocations: 36.31 kB / 379.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2854, allocations: 0 / 379.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Templates: time 0.01077/0.2961, allocations: 5.28 MB / 384.6 MB, free: 14.96 MB / 302.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches