Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001018/0.001018, allocations: 187 kB / 17.91 MB, free: 3.855 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.146/1.146, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0008676/0.0008676, allocations: 99.58 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007289/0.0007289, allocations: 35.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1864, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003963/0.1904, allocations: 4.141 MB / 378 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1922, allocations: 1.662 MB / 379.6 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1924, allocations: 11.69 kB / 379.6 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.1941, allocations: 0.9512 MB / 380.6 MB, free: 40.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.1944, allocations: 192.2 kB / 380.8 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.1956, allocations: 0.7804 MB / 381.6 MB, free: 39.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.1961, allocations: 0.5931 MB / 382.2 MB, free: 39.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005914/0.1967, allocations: 449.8 kB / 382.6 MB, free: 39.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.1969, allocations: 254.6 kB / 382.8 MB, free: 39.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.1973, allocations: 328.5 kB / 383.2 MB, free: 38.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.1973, allocations: 43.03 kB / 383.2 MB, free: 38.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.1978, allocations: 252.5 kB / 383.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.1978, allocations: 115.7 kB / 383.6 MB, free: 38.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.1981, allocations: 290.6 kB / 383.9 MB, free: 38.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.1987, allocations: 0.8943 MB / 384.7 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1987, allocations: 0 / 384.7 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1987, allocations: 3.938 kB / 384.8 MB, free: 37.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1988, allocations: 1.188 kB / 384.8 MB, free: 37.77 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.002865/0.2016, allocations: 1.205 MB / 386 MB, free: 36.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2017, allocations: 8.719 kB / 386 MB, free: 36.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.2027, allocations: 180.2 kB / 386.1 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2028, allocations: 235.6 kB / 386.4 MB, free: 36.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.2029, allocations: 57.52 kB / 386.4 MB, free: 36.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.203, allocations: 67.62 kB / 386.5 MB, free: 36.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.204, allocations: 0.7122 MB / 387.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.204, allocations: 3.906 kB / 387.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.2041, allocations: 24 kB / 387.2 MB, free: 35.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2041, allocations: 16 kB / 387.2 MB, free: 35.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.2051, allocations: 0.6062 MB / 387.9 MB, free: 35.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.2075, allocations: 2.312 MB / 390.2 MB, free: 32.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2086, allocations: 1.635 MB / 391.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.209, allocations: 279.3 kB / 392.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.2091, allocations: 97.64 kB / 392.2 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2091, allocations: 43.12 kB / 392.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.853e-06/0.2091, allocations: 0 / 392.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001263/0.2104, allocations: 0.7055 MB / 392.9 MB, free: 29.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.2104, allocations: 107.4 kB / 393 MB, free: 29.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.2106, allocations: 260.9 kB / 393.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2106, allocations: 37.7 kB / 393.3 MB, free: 29.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.2107, allocations: 264 kB / 393.6 MB, free: 29.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.2108, allocations: 224.7 kB / 393.8 MB, free: 28.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.211, allocations: 114.6 kB / 393.9 MB, free: 28.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.211, allocations: 350.8 kB / 394.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.2114, allocations: 209.9 kB / 394.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.2118, allocations: 301.3 kB / 394.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.2126, allocations: 0.5181 MB / 395.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2126, allocations: 0 / 395.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009426/0.2136, allocations: 0.6256 MB / 395.9 MB, free: 26.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2136, allocations: 10.22 kB / 395.9 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2136, allocations: 4 kB / 395.9 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2136, allocations: 4 kB / 395.9 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.2143, allocations: 163.8 kB / 396.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2143, allocations: 4 kB / 396.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.2147, allocations: 71.36 kB / 396.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2147, allocations: 23.98 kB / 396.2 MB, free: 26.53 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.2149, allocations: 194.5 kB / 396.4 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.215, allocations: 35.53 kB / 396.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.216, allocations: 0.6123 MB / 397 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.216, allocations: 4 kB / 397 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.216, allocations: 4 kB / 397 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.216, allocations: 7.984 kB / 397 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.2175, allocations: 1.288 MB / 398.3 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2175, allocations: 0 / 398.3 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.218, allocations: 131.8 kB / 398.4 MB, free: 24.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.218, allocations: 4 kB / 398.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.218, allocations: 15.94 kB / 398.5 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2181, allocations: 11.94 kB / 398.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2181, allocations: 0 / 398.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.2202, allocations: 2.169 MB / 400.6 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.2202, allocations: 128.4 kB / 400.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.2203, allocations: 16 kB / 400.8 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.2206, allocations: 28.11 kB / 400.8 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.2207, allocations: 44.5 kB / 400.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.2208, allocations: 19.98 kB / 400.9 MB, free: 21.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.2209, allocations: 188.5 kB / 401 MB, free: 21.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2209, allocations: 0 / 401 MB, free: 21.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005052/0.2214, allocations: 191.5 kB / 401.2 MB, free: 21.23 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 (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.0001594/0.2216, allocations: 147.1 kB / 401.4 MB, free: 21.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.2225, allocations: 0.5273 MB / 401.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2225, allocations: 4 kB / 401.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.2229, allocations: 275.1 kB / 402.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.2233, allocations: 44.8 kB / 402.2 MB, free: 20.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.225, allocations: 1.672 MB / 403.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2252, allocations: 0.858 MB / 404.8 MB, free: 17.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.2256, allocations: 83.34 kB / 404.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.2257, allocations: 43.42 kB / 404.9 MB, free: 17.51 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2257, allocations: 4 kB / 404.9 MB, free: 17.51 MB / 298.7 MB Notification: Performance of Templates: time 0.006886/0.2326, allocations: 5.009 MB / 409.9 MB, free: 12.52 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches