Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 109.7 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 206.8 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.152/2.152, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.89 kB / 359.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3223, allocations: 50.55 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006365/0.3287, allocations: 4.324 MB / 414.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003854/0.3326, allocations: 1.713 MB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.3331, allocations: 12 kB / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.3363, allocations: 1.023 MB / 417 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.3375, allocations: 254.2 kB / 417.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3394, allocations: 0.7627 MB / 418 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3404, allocations: 0.6377 MB / 418.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3415, allocations: 0.5167 MB / 419.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006111/0.3421, allocations: 274.9 kB / 419.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.3427, allocations: 362.5 kB / 419.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.3429, allocations: 56 kB / 419.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009724/0.3439, allocations: 291.7 kB / 420.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3441, allocations: 143.5 kB / 420.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.3446, allocations: 318.4 kB / 420.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.3465, allocations: 0.9785 MB / 421.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3465, allocations: 0 / 421.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3466, allocations: 0 / 421.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.355e-05/0.3466, allocations: 4 kB / 421.6 MB, free: 5.953 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005231/0.3518, allocations: 1.261 MB / 422.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/0.3519, allocations: 12.03 kB / 422.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.3544, allocations: 203.9 kB / 423 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.3549, allocations: 243.4 kB / 423.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.355, allocations: 58.31 kB / 423.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.3553, allocations: 76.38 kB / 423.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.3573, allocations: 0.7663 MB / 424.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.3573, allocations: 0 / 424.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.3574, allocations: 32 kB / 424.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3575, allocations: 16 kB / 424.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.3589, allocations: 0.6688 MB / 424.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.3642, allocations: 3.242 MB / 428.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.3668, allocations: 2.087 MB / 430.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.3674, allocations: 323.5 kB / 430.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.3676, allocations: 178.9 kB / 430.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.3677, allocations: 39.2 kB / 430.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.3677, allocations: 4.281 kB / 430.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002686/0.3704, allocations: 1.137 MB / 431.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.3705, allocations: 115.5 kB / 432 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.3708, allocations: 278.5 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.3708, allocations: 37.7 kB / 432.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.3711, allocations: 291.4 kB / 432.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.3713, allocations: 248.6 kB / 432.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.3715, allocations: 134.6 kB / 433 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3717, allocations: 354.7 kB / 433.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.3722, allocations: 233.9 kB / 433.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.3729, allocations: 390.2 kB / 433.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.374, allocations: 0.6337 MB / 434.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3741, allocations: 0 / 434.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001636/0.3757, allocations: 0.8267 MB / 435.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3757, allocations: 4 kB / 435.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3757, allocations: 4 kB / 435.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/0.3762, allocations: 125.7 kB / 435.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.3769, allocations: 159.7 kB / 435.7 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.3805, allocations: 3.79 MB / 439.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.3811, allocations: 83.17 kB / 439.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.3811, allocations: 36.05 kB / 439.6 MB, free: 2.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.3814, allocations: 197.7 kB / 439.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.3815, allocations: 39.53 kB / 439.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.383, allocations: 0.7452 MB / 440.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.383, allocations: 8 kB / 440.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.383, allocations: 0 / 440.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.383, allocations: 7.984 kB / 440.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.3855, allocations: 1.485 MB / 442.1 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3855, allocations: 0 / 442.1 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.386, allocations: 111.9 kB / 442.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.3863, allocations: 117.6 kB / 442.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.3864, allocations: 12 kB / 442.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.3893, allocations: 3.353 MB / 445.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3893, allocations: 4.031 kB / 445.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3912, allocations: 1.117 MB / 446.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3913, allocations: 128.5 kB / 446.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.3914, allocations: 8 kB / 446.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.3918, allocations: 35.97 kB / 446.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3919, allocations: 52.52 kB / 447 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.392, allocations: 16 kB / 447 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.3922, allocations: 198 kB / 447.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 0 / 447.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008872/0.3931, allocations: 219.5 kB / 447.4 MB, free: 10.43 MB / 366.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002941/0.3934, allocations: 155.2 kB / 447.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3951, allocations: 0.8835 MB / 448.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3951, allocations: 0 / 448.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.3959, allocations: 0.5564 MB / 449 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.3964, allocations: 44.48 kB / 449.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3986, allocations: 1.136 MB / 450.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.3991, allocations: 0.8577 MB / 451 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3993, allocations: 55.42 kB / 451.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3993, allocations: 0 / 451.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of Templates: time 0.01741/0.4167, allocations: 11.63 MB / 462.7 MB, free: 10.96 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches