Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 104.8 kB / 17.69 MB, free: 5.492 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.001433/0.001433, allocations: 188.8 kB / 18.63 MB, free: 4.566 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.32/1.32, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009863/0.0009863, allocations: 51.92 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2254, allocations: 49.43 MB / 401.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004938/0.2304, allocations: 4.33 MB / 405.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.2328, allocations: 1.65 MB / 407.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.233, allocations: 12 kB / 407.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.2352, allocations: 1.007 MB / 408.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.2357, allocations: 254.2 kB / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.2372, allocations: 0.8065 MB / 409.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.2377, allocations: 0.6452 MB / 410.1 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007058/0.2384, allocations: 0.4987 MB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.2388, allocations: 278.9 kB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.2392, allocations: 366.5 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.2392, allocations: 56 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.2397, allocations: 267.8 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2399, allocations: 139.5 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.2402, allocations: 326.4 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009314/0.2412, allocations: 0.9615 MB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2412, allocations: 0 / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2412, allocations: 0 / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2412, allocations: 0 / 412.9 MB, free: 13.32 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.003466/0.2447, allocations: 1.253 MB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2447, allocations: 8.031 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.2461, allocations: 211.9 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2463, allocations: 239.5 kB / 414.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.2464, allocations: 58.38 kB / 414.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.2465, allocations: 80.27 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.2477, allocations: 0.7663 MB / 415.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.2478, allocations: 0 / 415.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.2478, allocations: 32 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.2479, allocations: 16 kB / 415.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2491, allocations: 0.6688 MB / 416.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.2528, allocations: 3.087 MB / 419.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.255, allocations: 2.075 MB / 421.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.2556, allocations: 331.6 kB / 421.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.2557, allocations: 97.75 kB / 421.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.2558, allocations: 47.44 kB / 421.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.2558, allocations: 0 / 421.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002489/0.2583, allocations: 1.138 MB / 423 MB, free: 2.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2584, allocations: 111.5 kB / 423.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.2586, allocations: 278.5 kB / 423.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.2587, allocations: 37.7 kB / 423.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.2589, allocations: 291.4 kB / 423.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.259, allocations: 252.3 kB / 423.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.2592, allocations: 138.6 kB / 424.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2594, allocations: 354.7 kB / 424.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.2598, allocations: 229.9 kB / 424.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.2604, allocations: 382.3 kB / 425 MB, free: 340 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.2615, allocations: 0.6337 MB / 425.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2616, allocations: 0 / 425.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001493/0.2631, allocations: 0.8345 MB / 426.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2631, allocations: 8 kB / 426.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2631, allocations: 4 kB / 426.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.2635, allocations: 129.7 kB / 426.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.2641, allocations: 151.8 kB / 426.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.2671, allocations: 3.797 MB / 430.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.2676, allocations: 91.19 kB / 430.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.2677, allocations: 31.98 kB / 430.7 MB, free: 10.31 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.000274/0.2679, allocations: 199.1 kB / 430.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2681, allocations: 43.44 kB / 430.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.2696, allocations: 0.7457 MB / 431.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.2697, allocations: 8 kB / 431.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2697, allocations: 7.875 kB / 431.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2697, allocations: 3.984 kB / 431.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.2721, allocations: 1.489 MB / 433.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2721, allocations: 0 / 433.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.2726, allocations: 119.8 kB / 433.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.2729, allocations: 109.6 kB / 433.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.2729, allocations: 15.98 kB / 433.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.2754, allocations: 3.361 MB / 436.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2755, allocations: 0 / 436.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2773, allocations: 1.113 MB / 437.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2774, allocations: 128.5 kB / 438 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.2775, allocations: 12 kB / 438 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.2779, allocations: 35.97 kB / 438.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.278, allocations: 56.58 kB / 438.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2781, allocations: 20 kB / 438.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.2782, allocations: 194 kB / 438.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2782, allocations: 0 / 438.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007844/0.279, allocations: 219.4 kB / 438.6 MB, free: 2.047 MB / 350.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.0002564/0.2793, allocations: 143.2 kB / 438.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.2809, allocations: 0.8802 MB / 439.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2809, allocations: 256 / 439.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.2817, allocations: 0.5595 MB / 440.1 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.2821, allocations: 40.5 kB / 440.2 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.2841, allocations: 1.154 MB / 441.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2845, allocations: 0.8616 MB / 442.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.2847, allocations: 55.41 kB / 442.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2847, allocations: 0 / 442.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01255/0.2972, allocations: 11.48 MB / 453.7 MB, free: 2.742 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches