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.001433/0.001433, allocations: 99.97 kB / 21.18 MB, free: 0.6562 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.001447/0.001447, allocations: 185 kB / 24.46 MB, free: 3.977 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.443/1.443, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.001595/0.001595, allocations: 51.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.236, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005786/0.2417, allocations: 3.923 MB / 427.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.2447, allocations: 1.557 MB / 429.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.245, allocations: 12 kB / 429.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.2477, allocations: 0.9474 MB / 430.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008188/0.2485, allocations: 250.2 kB / 430.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.2502, allocations: 0.751 MB / 431.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007373/0.251, allocations: 0.6453 MB / 431.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/0.2517, allocations: 461 kB / 432.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.2521, allocations: 283 kB / 432.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2525, allocations: 326.5 kB / 432.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2526, allocations: 56 kB / 433 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.2532, allocations: 251.8 kB / 433.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2533, allocations: 139.5 kB / 433.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.2535, allocations: 262.7 kB / 433.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.2547, allocations: 0.9719 MB / 434.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2547, allocations: 3.938 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2547, allocations: 0 / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2547, allocations: 3.938 kB / 434.6 MB, free: 3.641 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.003683/0.2584, allocations: 1.196 MB / 435.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2584, allocations: 8.031 kB / 435.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.2598, allocations: 208.3 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.26, allocations: 185.7 kB / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.2601, allocations: 58.38 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.2602, allocations: 72.38 kB / 436.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.2617, allocations: 0.7952 MB / 437.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.2617, allocations: 7.984 kB / 437.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.2618, allocations: 28 kB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.2618, allocations: 20 kB / 437.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.2633, allocations: 0.661 MB / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.2673, allocations: 2.179 MB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.2691, allocations: 0.8127 MB / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.2698, allocations: 291.5 kB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.2699, allocations: 16.64 kB / 441.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2699, allocations: 43.22 kB / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.2699, allocations: 0 / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00262/0.2725, allocations: 0.9794 MB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.2726, allocations: 111.5 kB / 442.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2729, allocations: 272.7 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.2729, allocations: 33.7 kB / 442.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.2731, allocations: 304.4 kB / 442.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.2734, allocations: 257.8 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.2736, allocations: 142.6 kB / 443.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2737, allocations: 354.7 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.2743, allocations: 225.9 kB / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.2749, allocations: 415.9 kB / 444.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.2762, allocations: 0.6298 MB / 444.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2762, allocations: 4 kB / 444.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001666/0.2778, allocations: 0.8228 MB / 445.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2779, allocations: 8 kB / 445.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2779, allocations: 4 kB / 445.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.2783, allocations: 129.8 kB / 445.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.2789, allocations: 163.7 kB / 446 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.2826, allocations: 3.51 MB / 449.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.2831, allocations: 95.5 kB / 449.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.2832, allocations: 27.94 kB / 449.6 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.0002881/0.2835, allocations: 201.7 kB / 449.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2836, allocations: 35.77 kB / 449.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.2852, allocations: 0.7414 MB / 450.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2852, allocations: 12 kB / 450.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2852, allocations: 4 kB / 450.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2852, allocations: 4.203 kB / 450.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.2878, allocations: 1.29 MB / 451.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2878, allocations: 3.938 kB / 451.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.2883, allocations: 115.8 kB / 452 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.2886, allocations: 105.6 kB / 452.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.2887, allocations: 20 kB / 452.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.2917, allocations: 3.081 MB / 455.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2917, allocations: 0 / 455.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.2939, allocations: 1.125 MB / 456.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.294, allocations: 47.62 kB / 456.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.294, allocations: 15.94 kB / 456.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.2944, allocations: 23.98 kB / 456.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2946, allocations: 60.48 kB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.2946, allocations: 23.98 kB / 456.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.2948, allocations: 180.5 kB / 456.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 0 / 456.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007941/0.2956, allocations: 215.6 kB / 456.9 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.0002576/0.2959, allocations: 149 kB / 457 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2975, allocations: 0.8445 MB / 457.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2976, allocations: 0 / 457.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.2984, allocations: 0.533 MB / 458.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.2989, allocations: 40.38 kB / 458.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3012, allocations: 1.167 MB / 459.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3014, allocations: 273.4 kB / 459.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.3016, allocations: 51.42 kB / 459.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3016, allocations: 0 / 459.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of Templates: time 0.01625/0.3179, allocations: 11.79 MB / 471.7 MB, free: 13.5 MB / 382.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.667901143897325]