Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002195/0.002195, allocations: 216.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2236, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.008468/0.2321, allocations: 3.932 MB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003831/0.2359, allocations: 1.612 MB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.2362, allocations: 12 kB / 437.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.2395, allocations: 0.9561 MB / 438.9 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008513/0.2403, allocations: 258.2 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.2425, allocations: 0.7279 MB / 439.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009097/0.2434, allocations: 0.6338 MB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009778/0.2444, allocations: 469.1 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.2449, allocations: 282.9 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/0.2455, allocations: 362.5 kB / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.2457, allocations: 60 kB / 441.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007296/0.2464, allocations: 283.8 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.2466, allocations: 143.5 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003762/0.2469, allocations: 262.8 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.2485, allocations: 0.9836 MB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2485, allocations: 0 / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2485, allocations: 0 / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2485, allocations: 4 kB / 443.3 MB, free: 11.72 MB / 350.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.00585/0.2544, allocations: 1.207 MB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2544, allocations: 12.03 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.256, allocations: 196.4 kB / 444.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2562, allocations: 189.6 kB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.2563, allocations: 54.38 kB / 444.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.2565, allocations: 72.38 kB / 445 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.2584, allocations: 0.7992 MB / 445.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.2584, allocations: 3.953 kB / 445.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.2585, allocations: 35.94 kB / 445.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2585, allocations: 16 kB / 445.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.2599, allocations: 0.6649 MB / 446.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.2639, allocations: 2.187 MB / 448.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.2658, allocations: 0.8168 MB / 449.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.2665, allocations: 299 kB / 449.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-05/0.2666, allocations: 32.91 kB / 449.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.2666, allocations: 43.16 kB / 449.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.2666, allocations: 0 / 449.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002625/0.2692, allocations: 0.9832 MB / 450.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.2693, allocations: 111.5 kB / 451 MB, free: 3.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.2696, allocations: 264.7 kB / 451.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.2696, allocations: 41.69 kB / 451.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.2698, allocations: 312.2 kB / 451.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.27, allocations: 257.8 kB / 451.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.2703, allocations: 134.6 kB / 452 MB, free: 2.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2704, allocations: 354.7 kB / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.2709, allocations: 233.9 kB / 452.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.2716, allocations: 408 kB / 452.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.2728, allocations: 0.6378 MB / 453.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2728, allocations: 4 kB / 453.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001668/0.2744, allocations: 0.8345 MB / 454.4 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2745, allocations: 8 kB / 454.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2745, allocations: 4 kB / 454.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.2749, allocations: 125.7 kB / 454.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.2756, allocations: 155.8 kB / 454.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/0.2791, allocations: 3.513 MB / 458.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.2796, allocations: 87.38 kB / 458.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.2796, allocations: 40.11 kB / 458.3 MB, free: 12.05 MB / 366.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.0002505/0.2799, allocations: 197.7 kB / 458.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.28, allocations: 39.77 kB / 458.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.2816, allocations: 0.7413 MB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2816, allocations: 0 / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2817, allocations: 3.984 kB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.2817, allocations: 47.59 kB / 459.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.2818, allocations: 16 kB / 459.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.2822, allocations: 27.97 kB / 459.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2823, allocations: 64.47 kB / 459.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001877/0.2842, allocations: 0.8533 MB / 460.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001789/0.286, allocations: 1.072 MB / 461.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004753/0.2864, allocations: 229.1 kB / 461.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.2866, allocations: 184.5 kB / 461.8 MB, free: 8.543 MB / 366.1 MB Notification: Performance of Backend: time 4.71e-07/0.2866, allocations: 3.938 kB / 461.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.2885, allocations: 0.8409 MB / 462.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of SimCode: time 0.001781/0.2902, allocations: 1.46 MB / 464.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of Templates: time 0.01854/0.3088, allocations: 10.97 MB / 475.1 MB, free: 11.27 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.7145365010001115]