Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006723/0.0006722, allocations: 80.81 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 16 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1877, allocations: 47.58 MB / 375.2 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002409/0.1902, allocations: 2.556 MB / 377.7 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1914, allocations: 1.055 MB / 378.8 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1916, allocations: 9.094 kB / 378.8 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1919, allocations: 137.9 kB / 378.9 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1923, allocations: 159.4 kB / 379.1 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1926, allocations: 125.2 kB / 379.2 MB, free: 42.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.1929, allocations: 400.2 kB / 379.6 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1931, allocations: 90.8 kB / 379.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1932, allocations: 155.9 kB / 379.9 MB, free: 41.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1934, allocations: 167.3 kB / 380 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.1935, allocations: 17.75 kB / 380 MB, free: 41.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1936, allocations: 60.19 kB / 380.1 MB, free: 41.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.1937, allocations: 68.38 kB / 380.2 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1938, allocations: 195 kB / 380.3 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1941, allocations: 329.8 kB / 380.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1941, allocations: 0 / 380.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1941, allocations: 4 kB / 380.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1941, allocations: 1.312 kB / 380.7 MB, free: 41.36 MB / 298.7 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.0007109/0.1948, allocations: 0.6206 MB / 381.3 MB, free: 40.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1949, allocations: 8.938 kB / 381.3 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.338e-05/0.1949, allocations: 77.66 kB / 381.4 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.195, allocations: 43.91 kB / 381.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1953, allocations: 324.9 kB / 381.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1953, allocations: 23.69 kB / 381.8 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1954, allocations: 37.78 kB / 381.8 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.1958, allocations: 305.5 kB / 382.1 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1958, allocations: 1.438 kB / 382.1 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.1959, allocations: 10.72 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1959, allocations: 6.969 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.1962, allocations: 182.6 kB / 382.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1973, allocations: 0.8756 MB / 383.2 MB, free: 39.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1978, allocations: 255.9 kB / 383.4 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1979, allocations: 103.3 kB / 383.5 MB, free: 39.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.198, allocations: 7.625 kB / 383.5 MB, free: 39.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.1982, allocations: 176.7 kB / 383.7 MB, free: 39.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.1983, allocations: 0 / 383.7 MB, free: 39.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00196/0.2002, allocations: 1.309 MB / 385 MB, free: 38.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2003, allocations: 189.3 kB / 385.2 MB, free: 37.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.2006, allocations: 351.5 kB / 385.5 MB, free: 37.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2006, allocations: 36.73 kB / 385.6 MB, free: 37.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.2007, allocations: 190.6 kB / 385.8 MB, free: 37.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.2008, allocations: 139.3 kB / 385.9 MB, free: 37.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.2008, allocations: 5.938 kB / 385.9 MB, free: 37.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.2009, allocations: 355.8 kB / 386.3 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2011, allocations: 91.08 kB / 386.3 MB, free: 36.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.2013, allocations: 172.5 kB / 386.5 MB, free: 36.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.2016, allocations: 250.9 kB / 386.8 MB, free: 36.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2016, allocations: 3.938 kB / 386.8 MB, free: 36.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004929/0.2021, allocations: 349 kB / 387.1 MB, free: 36.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2022, allocations: 4.938 kB / 387.1 MB, free: 36.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2022, allocations: 8.125 kB / 387.1 MB, free: 36.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.252e-05/0.2023, allocations: 20.8 kB / 387.1 MB, free: 36.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2026, allocations: 87.89 kB / 387.2 MB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000677/0.2033, allocations: 1.289 MB / 388.5 MB, free: 34.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2034, allocations: 11.98 kB / 388.5 MB, free: 34.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.2035, allocations: 16 kB / 388.5 MB, free: 34.75 MB / 298.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.2036, allocations: 170.6 kB / 388.7 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.2037, allocations: 43.47 kB / 388.7 MB, free: 34.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.165e-05/0.2037, allocations: 56.03 kB / 388.8 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2038, allocations: 7.938 kB / 388.8 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2038, allocations: 0 / 388.8 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004277/0.2042, allocations: 0.6608 MB / 389.5 MB, free: 33.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.2051, allocations: 0.8523 MB / 390.3 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2051, allocations: 0 / 390.3 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.2055, allocations: 79.89 kB / 390.4 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2055, allocations: 4 kB / 390.4 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2055, allocations: 8 kB / 390.4 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.2055, allocations: 4 kB / 390.4 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2055, allocations: 4.047 kB / 390.4 MB, free: 32.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.2061, allocations: 0.5497 MB / 391 MB, free: 32.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.2062, allocations: 136.7 kB / 391.1 MB, free: 31.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.2062, allocations: 12 kB / 391.1 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2065, allocations: 15.98 kB / 391.1 MB, free: 31.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.2065, allocations: 27.97 kB / 391.2 MB, free: 31.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2066, allocations: 19.94 kB / 391.2 MB, free: 31.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2067, allocations: 258.9 kB / 391.4 MB, free: 31.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2067, allocations: 0 / 391.4 MB, free: 31.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.2071, allocations: 100.6 kB / 391.5 MB, free: 31.52 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.2084, allocations: 1.393 MB / 392.9 MB, free: 30.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.209, allocations: 378.4 kB / 393.3 MB, free: 29.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.209, allocations: 0 / 393.3 MB, free: 29.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.2092, allocations: 135.8 kB / 393.4 MB, free: 29.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.2097, allocations: 91.83 kB / 393.5 MB, free: 29.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2124, allocations: 2.566 MB / 396.1 MB, free: 26.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2126, allocations: 0.8157 MB / 396.9 MB, free: 26.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.2127, allocations: 131.4 kB / 397 MB, free: 25.9 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2128, allocations: 0 / 397 MB, free: 25.9 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.372/3.585, allocations: 6.769 MB / 403.8 MB, free: 19.12 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches