Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.000996/0.000996, allocations: 174.5 kB / 16.72 MB, free: 4.961 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.108/1.108, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006684/0.0006683, allocations: 99.94 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 16 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1716, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.002691/0.1744, allocations: 3.522 MB / 378.7 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1759, allocations: 1.538 MB / 380.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1761, allocations: 10.91 kB / 380.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1764, allocations: 163.5 kB / 380.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.1767, allocations: 195.5 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.1777, allocations: 0.6414 MB / 381.3 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.178, allocations: 0.5615 MB / 381.8 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1792, allocations: 0.8586 MB / 382.7 MB, free: 39.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1794, allocations: 217.3 kB / 382.9 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1797, allocations: 302.9 kB / 383.2 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.1797, allocations: 26.56 kB / 383.2 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.1801, allocations: 231.6 kB / 383.4 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.1801, allocations: 95.92 kB / 383.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1803, allocations: 289.9 kB / 383.8 MB, free: 39.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.1808, allocations: 0.6768 MB / 384.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1808, allocations: 0 / 384.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1808, allocations: 0.9062 kB / 384.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1808, allocations: 0 / 384.5 MB, free: 38.52 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002716/0.1835, allocations: 1.104 MB / 385.6 MB, free: 37.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1836, allocations: 8.812 kB / 385.6 MB, free: 37.7 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.916e-05/0.1837, allocations: 112.5 kB / 385.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009172/0.1846, allocations: 173.8 kB / 385.9 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1847, allocations: 242.8 kB / 386.1 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.1848, allocations: 49.22 kB / 386.2 MB, free: 37.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.1849, allocations: 71.47 kB / 386.2 MB, free: 37.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1859, allocations: 0.7098 MB / 387 MB, free: 36.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.186, allocations: 9.469 kB / 387 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.186, allocations: 24.47 kB / 387 MB, free: 36.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.186, allocations: 20 kB / 387 MB, free: 36.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1871, allocations: 0.6218 MB / 387.6 MB, free: 36.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.1894, allocations: 2.324 MB / 390 MB, free: 33.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1905, allocations: 1.635 MB / 391.6 MB, free: 31.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.191, allocations: 291.3 kB / 391.9 MB, free: 31.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-05/0.191, allocations: 93.66 kB / 392 MB, free: 31.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1911, allocations: 43.12 kB / 392 MB, free: 31.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.583e-06/0.1911, allocations: 0 / 392 MB, free: 31.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001275/0.1924, allocations: 0.7289 MB / 392.7 MB, free: 30.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1924, allocations: 111.4 kB / 392.8 MB, free: 30.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1926, allocations: 256.9 kB / 393.1 MB, free: 30.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1926, allocations: 41.69 kB / 393.1 MB, free: 30.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.1927, allocations: 260 kB / 393.4 MB, free: 29.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/0.1928, allocations: 224.7 kB / 393.6 MB, free: 29.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1928, allocations: 16 kB / 393.6 MB, free: 29.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.1929, allocations: 354.8 kB / 394 MB, free: 29.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.1933, allocations: 213.9 kB / 394.2 MB, free: 29.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.1937, allocations: 321.2 kB / 394.5 MB, free: 28.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.1946, allocations: 0.526 MB / 395 MB, free: 28.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1946, allocations: 0 / 395 MB, free: 28.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000989/0.1956, allocations: 0.6451 MB / 395.7 MB, free: 27.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1956, allocations: 4.938 kB / 395.7 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1956, allocations: 4 kB / 395.7 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1956, allocations: 8.188 kB / 395.7 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.1962, allocations: 159.8 kB / 395.8 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1962, allocations: 7.984 kB / 395.8 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.1966, allocations: 75.41 kB / 395.9 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.1967, allocations: 24 kB / 395.9 MB, free: 27.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.1968, allocations: 194.5 kB / 396.1 MB, free: 27.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.1969, allocations: 43.52 kB / 396.2 MB, free: 27.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.198, allocations: 0.6201 MB / 396.8 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.198, allocations: 8 kB / 396.8 MB, free: 26.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.198, allocations: 0 / 396.8 MB, free: 26.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.198, allocations: 3.984 kB / 396.8 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.1996, allocations: 1.312 MB / 398.1 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1996, allocations: 0 / 398.1 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.2001, allocations: 139.8 kB / 398.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2001, allocations: 0 / 398.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.2001, allocations: 19.94 kB / 398.3 MB, free: 24.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2001, allocations: 0 / 398.3 MB, free: 24.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2001, allocations: 11.92 kB / 398.3 MB, free: 24.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2014, allocations: 0.9939 MB / 399.3 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.2015, allocations: 128.5 kB / 399.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.2016, allocations: 15.94 kB / 399.4 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.2019, allocations: 36.05 kB / 399.5 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.202, allocations: 40.5 kB / 399.5 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.2021, allocations: 19.98 kB / 399.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.2022, allocations: 188.5 kB / 399.7 MB, free: 23.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2022, allocations: 0 / 399.7 MB, free: 23.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.2026, allocations: 171.5 kB / 399.9 MB, free: 23.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.2041, allocations: 1.586 MB / 401.5 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008625/0.205, allocations: 0.5507 MB / 402 MB, free: 21.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.205, allocations: 384 / 402 MB, free: 21.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.2054, allocations: 283.1 kB / 402.3 MB, free: 20.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2058, allocations: 58.72 kB / 402.3 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2092, allocations: 2.791 MB / 405.1 MB, free: 17.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.2094, allocations: 0.8463 MB / 406 MB, free: 17.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.2097, allocations: 191.4 kB / 406.2 MB, free: 16.82 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2097, allocations: 112 / 406.2 MB, free: 16.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.908/3.118, allocations: 7.465 MB / 413.6 MB, free: 9.359 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches