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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 175 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.435/1.435, 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.000756/0.0007559, allocations: 91.8 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003192, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2018, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003416/0.2053, allocations: 3.525 MB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2076, allocations: 1.533 MB / 380.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2078, allocations: 11.47 kB / 380.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.2083, allocations: 166.6 kB / 380.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.2087, allocations: 192.5 kB / 380.5 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2099, allocations: 0.6404 MB / 381.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.2104, allocations: 0.5695 MB / 381.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.2117, allocations: 0.8671 MB / 382.6 MB, free: 39.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.2121, allocations: 221.5 kB / 382.8 MB, free: 39.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.2124, allocations: 289.8 kB / 383.1 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.2125, allocations: 27.34 kB / 383.1 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.213, allocations: 230.5 kB / 383.3 MB, free: 39.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.213, allocations: 96.78 kB / 383.4 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.2133, allocations: 285.3 kB / 383.7 MB, free: 39.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.2138, allocations: 0.6768 MB / 384.4 MB, free: 38.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2138, allocations: 7.984 kB / 384.4 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2138, allocations: 1 kB / 384.4 MB, free: 38.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.2138, allocations: 0 / 384.4 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.002988/0.2168, allocations: 1.1 MB / 385.5 MB, free: 37.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2169, allocations: 9.406 kB / 385.5 MB, free: 37.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.2179, allocations: 176.5 kB / 385.7 MB, free: 37.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.2181, allocations: 232.2 kB / 385.9 MB, free: 37.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.2181, allocations: 48.47 kB / 386 MB, free: 37.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.2182, allocations: 75.61 kB / 386 MB, free: 37.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2194, allocations: 0.7096 MB / 386.7 MB, free: 36.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.2194, allocations: 5.688 kB / 386.7 MB, free: 36.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.2195, allocations: 25.31 kB / 386.8 MB, free: 36.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.2195, allocations: 23.22 kB / 386.8 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2206, allocations: 0.6179 MB / 387.4 MB, free: 36.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.2232, allocations: 2.324 MB / 389.7 MB, free: 33.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.2244, allocations: 1.635 MB / 391.4 MB, free: 31.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.2249, allocations: 283.9 kB / 391.7 MB, free: 31.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/0.225, allocations: 97.66 kB / 391.7 MB, free: 31.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.225, allocations: 51.05 kB / 391.8 MB, free: 31.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.334e-06/0.225, allocations: 3.938 kB / 391.8 MB, free: 31.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.00135/0.2264, allocations: 0.721 MB / 392.5 MB, free: 30.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.2264, allocations: 111.5 kB / 392.6 MB, free: 30.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2266, allocations: 264.8 kB / 392.9 MB, free: 30.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2267, allocations: 37.7 kB / 392.9 MB, free: 30.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.2268, allocations: 260 kB / 393.2 MB, free: 30.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.2269, allocations: 224.7 kB / 393.4 MB, free: 29.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.2269, allocations: 16 kB / 393.4 MB, free: 29.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.227, allocations: 346.8 kB / 393.8 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.2274, allocations: 217.9 kB / 394 MB, free: 29.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.2279, allocations: 313.3 kB / 394.3 MB, free: 28.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000889/0.2288, allocations: 0.5298 MB / 394.8 MB, free: 28.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2288, allocations: 0 / 394.8 MB, free: 28.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001056/0.2298, allocations: 0.6453 MB / 395.4 MB, free: 27.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2299, allocations: 4 kB / 395.5 MB, free: 27.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2299, allocations: 7.984 kB / 395.5 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2299, allocations: 4 kB / 395.5 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.2305, allocations: 167.8 kB / 395.6 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2306, allocations: 4 kB / 395.6 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.231, allocations: 71.41 kB / 395.7 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2311, allocations: 31.98 kB / 395.7 MB, free: 27.41 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.0001866/0.2313, allocations: 189.6 kB / 395.9 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.2313, allocations: 43.53 kB / 396 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.2325, allocations: 0.6163 MB / 396.6 MB, free: 26.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2325, allocations: 12 kB / 396.6 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2325, allocations: 0 / 396.6 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2325, allocations: 3.984 kB / 396.6 MB, free: 26.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.2342, allocations: 1.308 MB / 397.9 MB, free: 25.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2342, allocations: 0 / 397.9 MB, free: 25.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005261/0.2348, allocations: 139.8 kB / 398 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2348, allocations: 0 / 398 MB, free: 25.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.2348, allocations: 23.98 kB / 398.1 MB, free: 25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2348, allocations: 3.938 kB / 398.1 MB, free: 25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2348, allocations: 0 / 398.1 MB, free: 25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.2363, allocations: 0.9939 MB / 399.1 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.2364, allocations: 128.5 kB / 399.2 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.2365, allocations: 12 kB / 399.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.2368, allocations: 39.91 kB / 399.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.2369, allocations: 44.45 kB / 399.3 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.237, allocations: 24.05 kB / 399.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.2371, allocations: 184.5 kB / 399.5 MB, free: 23.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2371, allocations: 0 / 399.5 MB, free: 23.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.2376, allocations: 183.5 kB / 399.7 MB, free: 23.36 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.0001946/0.2378, allocations: 143.2 kB / 399.8 MB, free: 23.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009377/0.2388, allocations: 0.5468 MB / 400.3 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2388, allocations: 0 / 400.3 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.2392, allocations: 291.4 kB / 400.6 MB, free: 22.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.2397, allocations: 51.92 kB / 400.7 MB, free: 22.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2415, allocations: 1.336 MB / 402 MB, free: 20.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.2417, allocations: 0.8463 MB / 402.9 MB, free: 20.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.2419, allocations: 51.42 kB / 402.9 MB, free: 20.05 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2419, allocations: 0 / 402.9 MB, free: 20.05 MB / 298.7 MB Notification: Performance of Templates: time 0.007347/0.2492, allocations: 6.606 MB / 409.5 MB, free: 13.45 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > 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/jenkins/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