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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2596, allocations: 50.56 MB / 408.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004814/0.2644, allocations: 3.008 MB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2669, allocations: 1.402 MB / 413.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.2672, allocations: 11.88 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.2678, allocations: 143.2 kB / 413.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006517/0.2684, allocations: 222.7 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2688, allocations: 139.6 kB / 413.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.2694, allocations: 438.2 kB / 414.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2696, allocations: 115.8 kB / 414.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2699, allocations: 175.3 kB / 414.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.2702, allocations: 195.1 kB / 414.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.2703, allocations: 28 kB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2704, allocations: 63.97 kB / 414.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.2705, allocations: 71.7 kB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.2707, allocations: 194.9 kB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.2713, allocations: 461 kB / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2713, allocations: 0 / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2713, allocations: 0 / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.2714, allocations: 0 / 415.4 MB, free: 10.92 MB / 334.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.00113/0.2725, allocations: 0.6903 MB / 416.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2725, allocations: 12.03 kB / 416.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.2727, allocations: 71.23 kB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2728, allocations: 52.61 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.2733, allocations: 324.8 kB / 416.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.2733, allocations: 20.94 kB / 416.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.2734, allocations: 27.94 kB / 416.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.2739, allocations: 303.1 kB / 416.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.2739, allocations: 11.94 kB / 416.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.274, allocations: 19.88 kB / 416.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.274, allocations: 8 kB / 416.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.2743, allocations: 178.1 kB / 417.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.2757, allocations: 0.8679 MB / 417.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.2762, allocations: 255.4 kB / 418.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2764, allocations: 101.4 kB / 418.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.2765, allocations: 4.281 kB / 418.3 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/0.2768, allocations: 167.1 kB / 418.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.2768, allocations: 0 / 418.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002289/0.2791, allocations: 1.332 MB / 419.8 MB, free: 6.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.2792, allocations: 187.9 kB / 420 MB, free: 5.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.2795, allocations: 328.6 kB / 420.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2796, allocations: 41.69 kB / 420.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.2797, allocations: 200.6 kB / 420.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2798, allocations: 138.8 kB / 420.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.28, allocations: 70.14 kB / 420.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2801, allocations: 354.7 kB / 421.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.2803, allocations: 88.83 kB / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.2806, allocations: 185.3 kB / 421.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.281, allocations: 254.2 kB / 421.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.281, allocations: 0 / 421.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005562/0.2816, allocations: 354.7 kB / 421.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2816, allocations: 8 kB / 421.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2816, allocations: 0 / 421.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.579e-05/0.2817, allocations: 16.86 kB / 422 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.282, allocations: 91.83 kB / 422.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.2831, allocations: 1.394 MB / 423.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2833, allocations: 8.156 kB / 423.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2834, allocations: 20 kB / 423.5 MB, free: 2.223 MB / 334.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.0002117/0.2836, allocations: 169.7 kB / 423.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.2837, allocations: 43.7 kB / 423.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.2838, allocations: 43.95 kB / 423.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2838, allocations: 4 kB / 423.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2838, allocations: 0 / 423.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006249/0.2844, allocations: 0.6611 MB / 424.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.2856, allocations: 0.85 MB / 425.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2856, allocations: 0 / 425.2 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.2859, allocations: 79.89 kB / 425.3 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2859, allocations: 4 kB / 425.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.286, allocations: 8 kB / 425.3 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.286, allocations: 0 / 425.3 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.286, allocations: 16 kB / 425.3 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000762/0.2868, allocations: 0.5542 MB / 425.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2869, allocations: 140.9 kB / 426 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.287, allocations: 12 kB / 426 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2872, allocations: 23.97 kB / 426.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.2873, allocations: 27.91 kB / 426.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2873, allocations: 8 kB / 426.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.2876, allocations: 243 kB / 426.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2876, allocations: 0 / 426.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.288, allocations: 99.94 kB / 426.4 MB, free: 15.01 MB / 350.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.001946/0.2899, allocations: 1.391 MB / 427.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006765/0.2906, allocations: 382.4 kB / 428.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.2907, allocations: 4 kB / 428.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.2909, allocations: 139.7 kB / 428.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.2915, allocations: 103 kB / 428.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.2961, allocations: 3.642 MB / 432.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2964, allocations: 0.8119 MB / 432.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.2966, allocations: 47.25 kB / 432.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.2968, allocations: 131.4 kB / 433.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2968, allocations: 0 / 433.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.3298, allocations: 9.385 MB / 442.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.73, allocations: 12.83 kB / 442.5 MB, free: 15.12 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/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