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.001576/0.001575, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.88 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2446, allocations: 50.55 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004339/0.249, allocations: 3.024 MB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2514, allocations: 1.402 MB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.2516, allocations: 7.938 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.252, allocations: 143.1 kB / 413.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.2526, allocations: 206.8 kB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2529, allocations: 151.6 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.2535, allocations: 434.1 kB / 414.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2537, allocations: 115.8 kB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.2539, allocations: 175.3 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.2542, allocations: 187.2 kB / 414.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.2542, allocations: 28 kB / 414.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2544, allocations: 59.94 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2545, allocations: 83.67 kB / 414.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2547, allocations: 187 kB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.2553, allocations: 461 kB / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2553, allocations: 0 / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2553, allocations: 0 / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.2553, allocations: 0 / 415.4 MB, free: 10.83 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.001039/0.2563, allocations: 0.6903 MB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2564, allocations: 8.031 kB / 416.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.925e-05/0.2565, allocations: 71.23 kB / 416.2 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.572e-05/0.2566, allocations: 52.61 kB / 416.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.2571, allocations: 328.7 kB / 416.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.2571, allocations: 24.94 kB / 416.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.2572, allocations: 31.94 kB / 416.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.2577, allocations: 303.1 kB / 416.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.2577, allocations: 11.95 kB / 416.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.2578, allocations: 12 kB / 416.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2578, allocations: 7.984 kB / 417 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.2581, allocations: 182.1 kB / 417.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2595, allocations: 0.8562 MB / 418 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.26, allocations: 259.4 kB / 418.2 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2602, allocations: 105.4 kB / 418.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.2602, allocations: 8.219 kB / 418.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.2605, allocations: 167.1 kB / 418.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 3.777e-06/0.2606, allocations: 3.984 kB / 418.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002335/0.2629, allocations: 1.316 MB / 419.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.263, allocations: 187.9 kB / 420 MB, free: 5.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.2634, allocations: 332.6 kB / 420.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.2635, allocations: 37.7 kB / 420.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.2636, allocations: 200.6 kB / 420.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.2637, allocations: 142.7 kB / 420.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2639, allocations: 74.14 kB / 420.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.264, allocations: 350.7 kB / 421.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.2642, allocations: 96.83 kB / 421.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.2645, allocations: 181.2 kB / 421.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.2649, allocations: 254.2 kB / 421.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2649, allocations: 0 / 421.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000563/0.2654, allocations: 350.7 kB / 422 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2655, allocations: 7.984 kB / 422 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2655, allocations: 0 / 422 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.474e-05/0.2656, allocations: 24.98 kB / 422 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.2659, allocations: 83.89 kB / 422.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.2671, allocations: 1.39 MB / 423.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2673, allocations: 8.031 kB / 423.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.2673, allocations: 16 kB / 423.5 MB, free: 2.141 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.0002005/0.2675, allocations: 169.7 kB / 423.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.2676, allocations: 43.77 kB / 423.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.2677, allocations: 52.05 kB / 423.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2677, allocations: 4 kB / 423.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2677, allocations: 4 kB / 423.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006713/0.2684, allocations: 0.6611 MB / 424.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2696, allocations: 0.8502 MB / 425.3 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2696, allocations: 0 / 425.3 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.2699, allocations: 79.89 kB / 425.4 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.2699, allocations: 4 kB / 425.4 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.2699, allocations: 8 kB / 425.4 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.27, allocations: 11.92 kB / 425.4 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.27, allocations: 3.938 kB / 425.4 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.2708, allocations: 0.5506 MB / 426 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.2709, allocations: 136.9 kB / 426.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.271, allocations: 8 kB / 426.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.2712, allocations: 19.98 kB / 426.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2713, allocations: 35.83 kB / 426.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.2713, allocations: 12 kB / 426.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.2716, allocations: 247 kB / 426.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2716, allocations: 0 / 426.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.272, allocations: 95.94 kB / 426.5 MB, free: 14.93 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.002501/0.2745, allocations: 1.396 MB / 427.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007289/0.2752, allocations: 378.2 kB / 428.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2752, allocations: 256 / 428.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.2755, allocations: 143.6 kB / 428.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.2761, allocations: 98.12 kB / 428.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.2808, allocations: 3.658 MB / 432.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.2813, allocations: 0.8041 MB / 433 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.2815, allocations: 47.25 kB / 433 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.2817, allocations: 135.4 kB / 433.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2817, allocations: 0 / 433.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.3195, allocations: 9.383 MB / 442.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.22, allocations: 14.64 kB / 442.5 MB, free: 15.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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