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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 184.7 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 47.92 kB / 370.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.248, allocations: 52.2 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005901/0.2539, allocations: 3.919 MB / 427 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.2567, allocations: 1.557 MB / 428.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.2569, allocations: 12 kB / 428.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.2594, allocations: 0.9451 MB / 429.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.26, allocations: 246.2 kB / 429.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.2616, allocations: 0.7586 MB / 430.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.2623, allocations: 0.6414 MB / 431.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007741/0.2631, allocations: 459 kB / 431.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.2635, allocations: 283 kB / 431.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.2639, allocations: 314.6 kB / 432.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.264, allocations: 59.94 kB / 432.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.2645, allocations: 251.8 kB / 432.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.2646, allocations: 139.5 kB / 432.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.2649, allocations: 274.6 kB / 432.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.266, allocations: 0.9609 MB / 433.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.266, allocations: 4 kB / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.266, allocations: 0 / 433.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2661, allocations: 0 / 433.9 MB, free: 3.645 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.003626/0.2697, allocations: 1.203 MB / 435.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2697, allocations: 8.031 kB / 435.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.2711, allocations: 212.3 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.2713, allocations: 177.8 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.2714, allocations: 58.38 kB / 435.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2715, allocations: 76.33 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.273, allocations: 0.7952 MB / 436.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.273, allocations: 7.984 kB / 436.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.841e-05/0.2731, allocations: 28 kB / 436.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.2731, allocations: 20 kB / 436.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2745, allocations: 0.6649 MB / 437.1 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.2785, allocations: 2.179 MB / 439.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.2805, allocations: 0.809 MB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.2812, allocations: 294.9 kB / 440.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/0.2813, allocations: 20.64 kB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.2813, allocations: 43.22 kB / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.405e-06/0.2813, allocations: 0 / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002708/0.284, allocations: 0.9794 MB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.2841, allocations: 111.5 kB / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.2844, allocations: 268.7 kB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.2844, allocations: 45.73 kB / 441.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.2846, allocations: 296.4 kB / 442.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.2848, allocations: 261.7 kB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.285, allocations: 134.6 kB / 442.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2852, allocations: 354.7 kB / 442.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.2858, allocations: 225.9 kB / 443.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.2864, allocations: 419.9 kB / 443.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.2877, allocations: 0.622 MB / 444.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.2877, allocations: 7.984 kB / 444.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001678/0.2893, allocations: 0.8307 MB / 444.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2894, allocations: 8 kB / 445 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.2894, allocations: 4 kB / 445 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.2898, allocations: 125.7 kB / 445.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.2904, allocations: 155.8 kB / 445.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.2941, allocations: 3.515 MB / 448.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.2946, allocations: 87.42 kB / 448.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.2947, allocations: 31.94 kB / 448.9 MB, free: 4.039 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.2949, allocations: 197.7 kB / 449.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.295, allocations: 43.72 kB / 449.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.2967, allocations: 0.7414 MB / 449.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2967, allocations: 8 kB / 449.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2967, allocations: 4 kB / 449.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2967, allocations: 3.984 kB / 449.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.2993, allocations: 1.293 MB / 451.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2993, allocations: 0 / 451.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.2999, allocations: 119.8 kB / 451.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.3002, allocations: 109.6 kB / 451.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.3002, allocations: 12 kB / 451.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/0.3031, allocations: 3.077 MB / 454.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3031, allocations: 3.938 kB / 454.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.3052, allocations: 1.125 MB / 455.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.3053, allocations: 39.67 kB / 455.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.3054, allocations: 19.92 kB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.3058, allocations: 27.98 kB / 455.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3059, allocations: 64.47 kB / 455.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.3059, allocations: 23.98 kB / 455.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3061, allocations: 180.5 kB / 455.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3061, allocations: 0 / 455.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.3069, allocations: 215.6 kB / 456.2 MB, free: 12.44 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.0002566/0.3072, allocations: 151.1 kB / 456.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3089, allocations: 0.8406 MB / 457.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3089, allocations: 0 / 457.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.3098, allocations: 0.5369 MB / 457.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3103, allocations: 36.44 kB / 457.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3124, allocations: 1.132 MB / 458.8 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3127, allocations: 261.5 kB / 459.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.3131, allocations: 92.25 kB / 459.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3132, allocations: 43.42 kB / 459.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3132, allocations: 0 / 459.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of Templates: time 0.01355/0.3268, allocations: 6.671 MB / 465.9 MB, free: 2.641 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.782655458897352]