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.001123/0.001124, allocations: 176.9 kB / 16.41 MB, free: 5.727 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.314/1.314, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007645/0.0007645, allocations: 89.33 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 11.98 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1989, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003278/0.2022, allocations: 3.51 MB / 378.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.2046, allocations: 1.525 MB / 379.6 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.2048, allocations: 11.59 kB / 379.6 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.2052, allocations: 167.2 kB / 379.8 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.2056, allocations: 199.6 kB / 380 MB, free: 41.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2067, allocations: 0.6363 MB / 380.6 MB, free: 40.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.2072, allocations: 0.5669 MB / 381.2 MB, free: 40.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.2084, allocations: 0.8241 MB / 382 MB, free: 39.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.2087, allocations: 225.7 kB / 382.2 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.209, allocations: 290.3 kB / 382.5 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.2091, allocations: 26.84 kB / 382.5 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.2095, allocations: 226.1 kB / 382.7 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.2096, allocations: 96.78 kB / 382.8 MB, free: 39.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.2097, allocations: 132.5 kB / 383 MB, free: 39.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.2102, allocations: 0.6771 MB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2102, allocations: 1.406 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2102, allocations: 0 / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2103, allocations: 0 / 383.6 MB, free: 38.68 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.003016/0.2133, allocations: 1.109 MB / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2133, allocations: 10 kB / 384.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.2143, allocations: 176.3 kB / 384.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.2145, allocations: 233.3 kB / 385.2 MB, free: 37.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.2146, allocations: 49.34 kB / 385.2 MB, free: 37.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.2146, allocations: 71.5 kB / 385.3 MB, free: 37.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2158, allocations: 0.7049 MB / 386 MB, free: 37.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2158, allocations: 1.188 kB / 386 MB, free: 37.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.2159, allocations: 29.22 kB / 386 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.2159, allocations: 16.84 kB / 386 MB, free: 37.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.217, allocations: 0.6219 MB / 386.7 MB, free: 36.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.2196, allocations: 2.329 MB / 389 MB, free: 34.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.2208, allocations: 1.634 MB / 390.6 MB, free: 32.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.2212, allocations: 284.3 kB / 390.9 MB, free: 31.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/0.2213, allocations: 97.66 kB / 391 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.2214, allocations: 47.06 kB / 391 MB, free: 31.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.2214, allocations: 0 / 391 MB, free: 31.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001356/0.2227, allocations: 0.7288 MB / 391.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2228, allocations: 115.5 kB / 391.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.223, allocations: 260.8 kB / 392.1 MB, free: 30.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.223, allocations: 41.7 kB / 392.2 MB, free: 30.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.2231, allocations: 256 kB / 392.4 MB, free: 30.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.2232, allocations: 224.7 kB / 392.6 MB, free: 30.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.2233, allocations: 12 kB / 392.7 MB, free: 30.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.2233, allocations: 346.8 kB / 393 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.2238, allocations: 221.9 kB / 393.2 MB, free: 29.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.2242, allocations: 317.3 kB / 393.5 MB, free: 29.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.2247, allocations: 255.2 kB / 393.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2247, allocations: 0 / 393.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001024/0.2257, allocations: 0.6412 MB / 394.4 MB, free: 28.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2257, allocations: 8 kB / 394.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2258, allocations: 0 / 394.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2258, allocations: 12.17 kB / 394.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.2264, allocations: 167.8 kB / 394.6 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2265, allocations: 4 kB / 394.6 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.2269, allocations: 71.42 kB / 394.7 MB, free: 28.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.227, allocations: 23.98 kB / 394.7 MB, free: 28.05 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.0001792/0.2272, allocations: 197.6 kB / 394.9 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.2272, allocations: 35.53 kB / 394.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2283, allocations: 0.624 MB / 395.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2283, allocations: 8 kB / 395.6 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2283, allocations: 0 / 395.6 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2284, allocations: 7.969 kB / 395.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.23, allocations: 1.316 MB / 396.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.23, allocations: 0 / 396.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.2306, allocations: 135.8 kB / 397 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.2306, allocations: 4 kB / 397 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2306, allocations: 12 kB / 397 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2306, allocations: 4 kB / 397 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2306, allocations: 4 kB / 397 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.232, allocations: 0.9979 MB / 398 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.2321, allocations: 124.5 kB / 398.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.2321, allocations: 16 kB / 398.2 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.2325, allocations: 36.03 kB / 398.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.2326, allocations: 44.44 kB / 398.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2326, allocations: 16 kB / 398.3 MB, free: 24.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.2328, allocations: 192.5 kB / 398.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2328, allocations: 0 / 398.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.2332, allocations: 175.5 kB / 398.6 MB, free: 24.01 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.0001672/0.2334, allocations: 143.1 kB / 398.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.2344, allocations: 0.5471 MB / 399.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2344, allocations: 4.125 kB / 399.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.2348, allocations: 287 kB / 399.6 MB, free: 23.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2352, allocations: 51.92 kB / 399.6 MB, free: 22.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2369, allocations: 1.348 MB / 401 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2371, allocations: 0.8424 MB / 401.8 MB, free: 20.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.2373, allocations: 55.41 kB / 401.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2373, allocations: 0 / 401.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of Templates: time 0.006667/0.244, allocations: 6.622 MB / 408.5 MB, free: 14.08 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