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.001102/0.001102, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 201.2 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.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2262, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003967/0.2302, allocations: 3.028 MB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2324, allocations: 1.395 MB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.2326, allocations: 4 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.2331, allocations: 151.1 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005896/0.2337, allocations: 214.7 kB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.2341, allocations: 143.6 kB / 413.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000558/0.2347, allocations: 442.1 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2349, allocations: 111.8 kB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.2352, allocations: 171.3 kB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.2354, allocations: 191.1 kB / 414.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2355, allocations: 32 kB / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2356, allocations: 59.92 kB / 414.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.2357, allocations: 79.7 kB / 414.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.2359, allocations: 187 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.2364, allocations: 452.1 kB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2364, allocations: 0 / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2364, allocations: 4 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2364, allocations: 0 / 415.4 MB, free: 10.91 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.0009389/0.2374, allocations: 0.679 MB / 416 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2374, allocations: 12.03 kB / 416 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.274e-05/0.2375, allocations: 75.12 kB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.2376, allocations: 44.47 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.238, allocations: 328.5 kB / 416.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.238, allocations: 20.88 kB / 416.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.2381, allocations: 35.84 kB / 416.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.2386, allocations: 311 kB / 416.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2386, allocations: 0 / 416.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.2386, allocations: 15.98 kB / 416.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2387, allocations: 8 kB / 416.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.239, allocations: 182.1 kB / 417 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2402, allocations: 0.8638 MB / 417.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.2407, allocations: 255.4 kB / 418.2 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.2409, allocations: 101.4 kB / 418.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.2409, allocations: 12.22 kB / 418.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.2412, allocations: 159.2 kB / 418.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.2412, allocations: 3.938 kB / 418.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002151/0.2434, allocations: 1.323 MB / 419.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.2435, allocations: 187.9 kB / 419.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.2438, allocations: 328.6 kB / 420.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.2439, allocations: 33.7 kB / 420.3 MB, free: 5.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.244, allocations: 196.5 kB / 420.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.2441, allocations: 141.9 kB / 420.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2442, allocations: 74.14 kB / 420.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2444, allocations: 350.7 kB / 421 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.2445, allocations: 88.83 kB / 421.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2448, allocations: 189.2 kB / 421.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.2452, allocations: 246.2 kB / 421.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2452, allocations: 4 kB / 421.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005412/0.2457, allocations: 342.7 kB / 421.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2458, allocations: 11.98 kB / 421.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2458, allocations: 4 kB / 421.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-05/0.2459, allocations: 16.86 kB / 421.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.2462, allocations: 91.89 kB / 422 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.2473, allocations: 1.39 MB / 423.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2475, allocations: 15.91 kB / 423.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2475, allocations: 12 kB / 423.4 MB, free: 2.242 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.0002155/0.2477, allocations: 165.9 kB / 423.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.2478, allocations: 39.56 kB / 423.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-05/0.2479, allocations: 47.95 kB / 423.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2479, allocations: 4 kB / 423.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2479, allocations: 0 / 423.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005891/0.2485, allocations: 0.665 MB / 424.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2496, allocations: 0.8584 MB / 425.2 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2497, allocations: 3.938 kB / 425.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.25, allocations: 75.89 kB / 425.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.25, allocations: 0 / 425.3 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.25, allocations: 12 kB / 425.3 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.25, allocations: 7.938 kB / 425.3 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.25, allocations: 0 / 425.3 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.2508, allocations: 0.5541 MB / 425.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.2509, allocations: 132.7 kB / 426 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.251, allocations: 12 kB / 426 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2512, allocations: 15.98 kB / 426 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.2513, allocations: 35.84 kB / 426 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2513, allocations: 16 kB / 426.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.2515, allocations: 243 kB / 426.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2516, allocations: 0 / 426.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.252, allocations: 100 kB / 426.4 MB, free: 15.04 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.001747/0.2537, allocations: 1.383 MB / 427.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.2544, allocations: 378.7 kB / 428.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2544, allocations: 0 / 428.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.2547, allocations: 139.6 kB / 428.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.2553, allocations: 111.5 kB / 428.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.2599, allocations: 3.647 MB / 432 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.2603, allocations: 0.8041 MB / 432.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.2605, allocations: 47.25 kB / 432.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.2607, allocations: 131.4 kB / 433 MB, free: 8.344 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2607, allocations: 0 / 433 MB, free: 8.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.2947, allocations: 9.525 MB / 442.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.6, allocations: 19.77 kB / 442.6 MB, free: 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