Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 91.53 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007061/0.0007062, allocations: 178.9 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 242.3 MB, free: 14.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002166/0.0002165, allocations: 7.938 kB / 302.1 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07135/0.07158, allocations: 50.42 MB / 352.5 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003516/0.07513, allocations: 3.759 MB / 356.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.0774, allocations: 1.592 MB / 357.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.07767, allocations: 12 kB / 357.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.07817, allocations: 219.1 kB / 358.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.07871, allocations: 198.8 kB / 358.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.08003, allocations: 0.7625 MB / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.08058, allocations: 0.5833 MB / 359.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.08194, allocations: 0.9107 MB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.08225, allocations: 223 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.08259, allocations: 306.7 kB / 361.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.08265, allocations: 28 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.0831, allocations: 231.8 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.08319, allocations: 107.5 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.08341, allocations: 304.2 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006058/0.08403, allocations: 0.6819 MB / 362.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.08404, allocations: 0 / 362.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.08405, allocations: 4 kB / 362.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.08406, allocations: 0 / 362.4 MB, free: 9.469 MB / 302.1 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.003029/0.0871, allocations: 1.101 MB / 363.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.08714, allocations: 11.97 kB / 363.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.08821, allocations: 176 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.0884, allocations: 241.1 kB / 363.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.08845, allocations: 50.38 kB / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.08857, allocations: 72.28 kB / 364 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.08978, allocations: 0.7232 MB / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.08982, allocations: 8 kB / 364.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.08988, allocations: 24 kB / 364.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.0899, allocations: 16 kB / 364.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.09109, allocations: 0.6258 MB / 365.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.0941, allocations: 2.324 MB / 367.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.0956, allocations: 1.644 MB / 369.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.0961, allocations: 287.3 kB / 369.7 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.09622, allocations: 97.66 kB / 369.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.09625, allocations: 35.12 kB / 369.8 MB, free: 1.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.09626, allocations: 4 kB / 369.8 MB, free: 1.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001484/0.09775, allocations: 0.7329 MB / 370.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.09781, allocations: 111.4 kB / 370.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.09806, allocations: 256.9 kB / 370.9 MB, free: 424 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.09811, allocations: 37.7 kB / 370.9 MB, free: 380 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.09824, allocations: 272 kB / 371.2 MB, free: 104 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1323/0.2306, allocations: 218.4 kB / 371.4 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.2307, allocations: 57.92 kB / 371.5 MB, free: 24.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.2308, allocations: 346.5 kB / 371.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.2314, allocations: 219.4 kB / 372 MB, free: 24.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.232, allocations: 313.2 kB / 372.3 MB, free: 23.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.233, allocations: 0.5366 MB / 372.9 MB, free: 23.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.233, allocations: 4.969 kB / 372.9 MB, free: 23.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001293/0.2343, allocations: 0.641 MB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2344, allocations: 5.781 kB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2344, allocations: 4.5 kB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.2344, allocations: 6.125 kB / 373.5 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.2351, allocations: 165.6 kB / 373.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.2351, allocations: 9.016 kB / 373.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.2356, allocations: 79.89 kB / 373.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.2356, allocations: 25.41 kB / 373.8 MB, free: 23.81 MB / 302.1 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.0002265/0.2359, allocations: 192.1 kB / 374 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.236, allocations: 34.75 kB / 374 MB, free: 23.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.2373, allocations: 0.623 MB / 374.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2373, allocations: 8.016 kB / 374.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2373, allocations: 5.094 kB / 374.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2373, allocations: 5.078 kB / 374.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.2392, allocations: 1.321 MB / 376 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2392, allocations: 0.6562 kB / 376 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.2398, allocations: 136.8 kB / 376.1 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.2398, allocations: 2.812 kB / 376.1 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2398, allocations: 18.56 kB / 376.1 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.2398, allocations: 6.234 kB / 376.2 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2398, allocations: 1.172 kB / 376.2 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.2413, allocations: 1.008 MB / 377.2 MB, free: 22.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.2414, allocations: 120.5 kB / 377.3 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.2415, allocations: 12.83 kB / 377.3 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.2419, allocations: 33.27 kB / 377.3 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.242, allocations: 47.47 kB / 377.4 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.242, allocations: 21.06 kB / 377.4 MB, free: 22.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.2422, allocations: 192.3 kB / 377.6 MB, free: 22.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2422, allocations: 0 / 377.6 MB, free: 22.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005461/0.2427, allocations: 181 kB / 377.8 MB, free: 22.11 MB / 302.1 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.000195/0.2429, allocations: 144.1 kB / 377.9 MB, free: 22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.244, allocations: 0.5538 MB / 378.5 MB, free: 21.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.244, allocations: 384 / 378.5 MB, free: 21.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.2445, allocations: 289 kB / 378.7 MB, free: 21.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.245, allocations: 50.91 kB / 378.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2469, allocations: 1.415 MB / 380.2 MB, free: 20.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2472, allocations: 0.839 MB / 381 MB, free: 20.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.2474, allocations: 59.08 kB / 381.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2474, allocations: 0 / 381.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of Templates: time 0.00998/0.2574, allocations: 6.633 MB / 387.7 MB, free: 18.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches