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.001529/0.001529, allocations: 113.1 kB / 17.06 MB, free: 6 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.001783/0.001783, allocations: 200 kB / 18 MB, free: 5.078 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 43.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2719, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.008138/0.2801, allocations: 4.333 MB / 405.1 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.2841, allocations: 1.643 MB / 406.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.2845, allocations: 12 kB / 406.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.2879, allocations: 1.026 MB / 407.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.289, allocations: 246.2 kB / 408 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.2912, allocations: 0.8017 MB / 408.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008975/0.2921, allocations: 0.6414 MB / 409.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.2931, allocations: 0.5065 MB / 409.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.2936, allocations: 274.9 kB / 410.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.2941, allocations: 362.5 kB / 410.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.2942, allocations: 56 kB / 410.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006745/0.2949, allocations: 271.7 kB / 410.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2951, allocations: 143.5 kB / 411 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.2954, allocations: 322.4 kB / 411.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.2968, allocations: 0.9616 MB / 412.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2968, allocations: 0 / 412.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2968, allocations: 4 kB / 412.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2968, allocations: 3.938 kB / 412.3 MB, free: 13.23 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.004248/0.3011, allocations: 1.249 MB / 413.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3011, allocations: 12.03 kB / 413.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.3037, allocations: 211.9 kB / 413.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.304, allocations: 235.2 kB / 414 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/0.3041, allocations: 58.38 kB / 414.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.3042, allocations: 80.27 kB / 414.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.3061, allocations: 0.7624 MB / 414.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.3062, allocations: 4 kB / 414.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/0.3063, allocations: 32 kB / 414.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.3063, allocations: 20 kB / 415 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.3084, allocations: 0.6688 MB / 415.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005906/0.3143, allocations: 3.087 MB / 418.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.3175, allocations: 2.071 MB / 420.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009562/0.3185, allocations: 331.6 kB / 421.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.3187, allocations: 97.73 kB / 421.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.3187, allocations: 55.44 kB / 421.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.254e-06/0.3187, allocations: 0 / 421.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.003832/0.3226, allocations: 1.138 MB / 422.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.3227, allocations: 111.5 kB / 422.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.3231, allocations: 274.4 kB / 422.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.3232, allocations: 41.7 kB / 422.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.3235, allocations: 299.4 kB / 423.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.3237, allocations: 240.4 kB / 423.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.324, allocations: 138.6 kB / 423.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3242, allocations: 354.7 kB / 423.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.325, allocations: 233.9 kB / 424 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.3259, allocations: 386.3 kB / 424.4 MB, free: 252 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.3276, allocations: 0.6338 MB / 425.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3276, allocations: 0 / 425.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002332/0.3299, allocations: 0.8306 MB / 425.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.33, allocations: 8 kB / 425.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.33, allocations: 4 kB / 425.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.3306, allocations: 129.6 kB / 426 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.3313, allocations: 159.8 kB / 426.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.3358, allocations: 3.789 MB / 430 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.3366, allocations: 87.19 kB / 430.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.3367, allocations: 32 kB / 430.1 MB, free: 10.23 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.000352/0.3371, allocations: 199.3 kB / 430.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3372, allocations: 43.44 kB / 430.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.3395, allocations: 0.7415 MB / 431.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.3395, allocations: 8 kB / 431.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3395, allocations: 0 / 431.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.3396, allocations: 7.984 kB / 431.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.3431, allocations: 1.5 MB / 432.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3432, allocations: 112 / 432.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/0.3439, allocations: 115.8 kB / 432.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/0.3443, allocations: 105.6 kB / 432.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.3444, allocations: 16 kB / 432.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.3481, allocations: 3.349 MB / 436.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3481, allocations: 8.047 kB / 436.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.3509, allocations: 1.125 MB / 437.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3511, allocations: 124.5 kB / 437.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.3512, allocations: 15.98 kB / 437.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006138/0.3518, allocations: 27.98 kB / 437.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.352, allocations: 56.52 kB / 437.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.352, allocations: 20.06 kB / 437.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.3523, allocations: 198 kB / 437.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3523, allocations: 3.938 kB / 437.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001371/0.3537, allocations: 215.4 kB / 437.9 MB, free: 1.969 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.0003694/0.3541, allocations: 143.2 kB / 438.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.3565, allocations: 0.8841 MB / 439 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3565, allocations: 0 / 439 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3577, allocations: 0.5636 MB / 439.5 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.3585, allocations: 36.5 kB / 439.6 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3614, allocations: 1.125 MB / 440.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.362, allocations: 0.8656 MB / 441.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005114/0.3626, allocations: 76.36 kB / 441.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.3628, allocations: 51.42 kB / 441.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.3628, allocations: 0 / 441.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01694/0.3797, allocations: 6.229 MB / 447.9 MB, free: 7.902 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/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