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.00124/0.00124, allocations: 121.6 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.001308/0.001308, allocations: 203.9 kB / 18.74 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.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2559, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004974/0.2609, allocations: 3.02 MB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.2638, allocations: 1.398 MB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.2642, allocations: 8 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.2648, allocations: 147.1 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007225/0.2656, allocations: 210.7 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.266, allocations: 143.6 kB / 413.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00065/0.2667, allocations: 434.1 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.2669, allocations: 115.8 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.2672, allocations: 175.3 kB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.2676, allocations: 187.2 kB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.2676, allocations: 32 kB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2678, allocations: 59.97 kB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2679, allocations: 83.62 kB / 414.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.2682, allocations: 191 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.2689, allocations: 461 kB / 415.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2689, allocations: 0 / 415.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2689, allocations: 0 / 415.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.2689, allocations: 0 / 415.4 MB, free: 10.89 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.001564/0.2705, allocations: 0.6903 MB / 416.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2706, allocations: 12.03 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.2707, allocations: 67.23 kB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.2709, allocations: 56.61 kB / 416.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.2715, allocations: 324.8 kB / 416.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2715, allocations: 20.92 kB / 416.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.2716, allocations: 35.94 kB / 416.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.2722, allocations: 303.1 kB / 416.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.2722, allocations: 3.953 kB / 416.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.2723, allocations: 12 kB / 416.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2723, allocations: 12 kB / 416.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.2726, allocations: 178.1 kB / 417.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.2742, allocations: 0.864 MB / 417.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.2748, allocations: 255.4 kB / 418.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.275, allocations: 101.4 kB / 418.3 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.275, allocations: 8.266 kB / 418.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.2753, allocations: 163.1 kB / 418.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.2753, allocations: 7.938 kB / 418.4 MB, free: 7.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002617/0.278, allocations: 1.324 MB / 419.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.2781, allocations: 187.9 kB / 420 MB, free: 5.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.2785, allocations: 332.5 kB / 420.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.2786, allocations: 37.7 kB / 420.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.2787, allocations: 200.6 kB / 420.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.2789, allocations: 138.8 kB / 420.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.279, allocations: 74.12 kB / 420.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2792, allocations: 350.7 kB / 421.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2794, allocations: 92.83 kB / 421.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.2797, allocations: 189.2 kB / 421.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.2801, allocations: 246.2 kB / 421.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2801, allocations: 0 / 421.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006062/0.2807, allocations: 354.7 kB / 421.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2807, allocations: 6.188 kB / 421.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2808, allocations: 4 kB / 421.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.004e-05/0.2808, allocations: 24.97 kB / 422 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.2812, allocations: 83.91 kB / 422 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.2825, allocations: 1.394 MB / 423.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2827, allocations: 11.98 kB / 423.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2827, allocations: 12 kB / 423.5 MB, free: 2.207 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.0002057/0.2829, allocations: 173.3 kB / 423.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.283, allocations: 47.69 kB / 423.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.2831, allocations: 47.95 kB / 423.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2831, allocations: 8.062 kB / 423.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2831, allocations: 0 / 423.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007102/0.2838, allocations: 0.665 MB / 424.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2851, allocations: 0.8423 MB / 425.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2851, allocations: 4 kB / 425.2 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.2855, allocations: 80.03 kB / 425.3 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2855, allocations: 0 / 425.3 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.2855, allocations: 11.98 kB / 425.3 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.2855, allocations: 7.938 kB / 425.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2855, allocations: 0 / 425.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.2864, allocations: 0.562 MB / 425.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2865, allocations: 128.9 kB / 426 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.2866, allocations: 11.98 kB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2868, allocations: 16 kB / 426 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.2869, allocations: 31.84 kB / 426.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.2869, allocations: 15.98 kB / 426.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.2872, allocations: 247.1 kB / 426.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2872, allocations: 0 / 426.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.2877, allocations: 103.9 kB / 426.4 MB, free: 14.99 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.002531/0.2902, allocations: 1.39 MB / 427.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007031/0.2909, allocations: 378.2 kB / 428.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2909, allocations: 0 / 428.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.2912, allocations: 144 kB / 428.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.2918, allocations: 105.4 kB / 428.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.2969, allocations: 3.646 MB / 432.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.2974, allocations: 0.8041 MB / 432.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.2976, allocations: 55.23 kB / 432.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.2978, allocations: 131.4 kB / 433.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2978, allocations: 0 / 433.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.3366, allocations: 9.38 MB / 442.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.26, allocations: 12.77 kB / 442.5 MB, free: 15.09 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.1.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