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.001147/0.001147, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 55.91 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2259, allocations: 50.54 MB / 408.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003819/0.2297, allocations: 3.025 MB / 411.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2317, allocations: 1.391 MB / 413.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2319, allocations: 7.938 kB / 413.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.2323, allocations: 147.1 kB / 413.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.2328, allocations: 210.8 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.233, allocations: 151.5 kB / 413.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.2335, allocations: 441.5 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.2337, allocations: 107.8 kB / 414.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.2339, allocations: 179.3 kB / 414.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2341, allocations: 191.1 kB / 414.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.2341, allocations: 28 kB / 414.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2342, allocations: 63.92 kB / 414.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.2343, allocations: 83.69 kB / 414.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2345, allocations: 190.9 kB / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.2349, allocations: 448.2 kB / 415.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.235, allocations: 0 / 415.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.235, allocations: 0 / 415.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.235, allocations: 4 kB / 415.4 MB, free: 11.05 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.000895/0.2359, allocations: 0.679 MB / 416 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2359, allocations: 15.95 kB / 416.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.761e-05/0.236, allocations: 79.12 kB / 416.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.2361, allocations: 44.47 kB / 416.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.2365, allocations: 316.5 kB / 416.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2365, allocations: 20.94 kB / 416.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.2366, allocations: 35.84 kB / 416.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.237, allocations: 311 kB / 416.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2371, allocations: 0 / 416.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.2371, allocations: 16 kB / 416.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2371, allocations: 4 kB / 416.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.2374, allocations: 186.1 kB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2386, allocations: 0.8598 MB / 417.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.2391, allocations: 259.4 kB / 418.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.2393, allocations: 101.4 kB / 418.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.2393, allocations: 4.281 kB / 418.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.2396, allocations: 167.2 kB / 418.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.2396, allocations: 3.938 kB / 418.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002093/0.2417, allocations: 1.319 MB / 419.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.2418, allocations: 187.9 kB / 419.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.2421, allocations: 332.5 kB / 420.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.2422, allocations: 33.7 kB / 420.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.2423, allocations: 192.5 kB / 420.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.2424, allocations: 146 kB / 420.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2425, allocations: 78.06 kB / 420.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2426, allocations: 350.7 kB / 421 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.2428, allocations: 84.84 kB / 421.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.2431, allocations: 185.3 kB / 421.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.2434, allocations: 246.2 kB / 421.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2434, allocations: 0 / 421.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005077/0.244, allocations: 354.5 kB / 421.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.244, allocations: 4 kB / 421.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.244, allocations: 4 kB / 421.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.658e-05/0.2441, allocations: 20.8 kB / 421.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2444, allocations: 91.89 kB / 422 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.2454, allocations: 1.386 MB / 423.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2456, allocations: 19.94 kB / 423.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2456, allocations: 12 kB / 423.4 MB, free: 2.387 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.0001699/0.2458, allocations: 175.7 kB / 423.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.2459, allocations: 43.56 kB / 423.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.246, allocations: 43.95 kB / 423.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.246, allocations: 4 kB / 423.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.246, allocations: 0 / 423.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005881/0.2466, allocations: 0.665 MB / 424.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.2476, allocations: 0.8544 MB / 425.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2477, allocations: 4 kB / 425.2 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.248, allocations: 79.89 kB / 425.3 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.248, allocations: 0 / 425.3 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.248, allocations: 12.06 kB / 425.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.248, allocations: 4 kB / 425.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.248, allocations: 0 / 425.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.2487, allocations: 0.5542 MB / 425.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2489, allocations: 140.7 kB / 426 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.2489, allocations: 8 kB / 426 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.2491, allocations: 23.98 kB / 426 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.2492, allocations: 23.91 kB / 426 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.2492, allocations: 16 kB / 426.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.2495, allocations: 243 kB / 426.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2495, allocations: 0 / 426.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.2498, allocations: 96 kB / 426.4 MB, free: 15.18 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.001744/0.2516, allocations: 1.389 MB / 427.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.2522, allocations: 378.5 kB / 428.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2522, allocations: 0 / 428.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2524, allocations: 139.6 kB / 428.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.2529, allocations: 104.3 kB / 428.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004252/0.2572, allocations: 3.635 MB / 432 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2576, allocations: 0.8118 MB / 432.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.2577, allocations: 51.25 kB / 432.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.2579, allocations: 123.4 kB / 433 MB, free: 8.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2579, allocations: 0 / 433 MB, free: 8.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.2883, allocations: 9.527 MB / 442.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.34, allocations: 15.17 kB / 442.5 MB, free: 15.15 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.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