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.001339/0.001339, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001512/0.001512, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001529/0.001529, allocations: 43.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006236/0.2331, allocations: 4.379 MB / 436 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.2362, allocations: 1.744 MB / 437.8 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.2364, allocations: 16 kB / 437.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.2387, allocations: 1.03 MB / 438.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.2393, allocations: 258.1 kB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2409, allocations: 0.7698 MB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006991/0.2416, allocations: 0.6377 MB / 440.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007249/0.2423, allocations: 467 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.2427, allocations: 290.9 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.2431, allocations: 354.5 kB / 441.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.2432, allocations: 56 kB / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.2438, allocations: 291.7 kB / 441.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2439, allocations: 143.5 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.2442, allocations: 322.4 kB / 442.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2453, allocations: 0.9803 MB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2454, allocations: 0 / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2454, allocations: 0 / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2454, allocations: 0 / 443.3 MB, free: 11.18 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.003593/0.249, allocations: 1.215 MB / 444.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.249, allocations: 8.031 kB / 444.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.2503, allocations: 196.4 kB / 444.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.2505, allocations: 195.1 kB / 444.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.2506, allocations: 62.38 kB / 445 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.2507, allocations: 72.38 kB / 445.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2521, allocations: 0.7702 MB / 445.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.2521, allocations: 3.984 kB / 445.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.2522, allocations: 32 kB / 445.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.2522, allocations: 16 kB / 445.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.2535, allocations: 0.6727 MB / 446.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.2577, allocations: 2.876 MB / 449.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.2596, allocations: 0.8243 MB / 450.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.2601, allocations: 291.5 kB / 450.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.2602, allocations: 36.59 kB / 450.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.2603, allocations: 47.5 kB / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.063e-06/0.2603, allocations: 0 / 450.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002468/0.2628, allocations: 0.9754 MB / 451.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.2628, allocations: 119.5 kB / 451.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.2631, allocations: 273.8 kB / 452 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.2632, allocations: 37.7 kB / 452 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.2634, allocations: 300.6 kB / 452.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.2636, allocations: 257.8 kB / 452.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2638, allocations: 142.6 kB / 452.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2639, allocations: 354.7 kB / 453.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.2644, allocations: 233.8 kB / 453.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.265, allocations: 386.3 kB / 453.7 MB, free: 436 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2661, allocations: 0.6337 MB / 454.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2661, allocations: 0 / 454.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001594/0.2677, allocations: 0.8307 MB / 455.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2678, allocations: 8 kB / 455.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2678, allocations: 7.984 kB / 455.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.2682, allocations: 125.7 kB / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.2688, allocations: 159.7 kB / 455.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.2722, allocations: 3.582 MB / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.2727, allocations: 95.44 kB / 459.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.2727, allocations: 31.94 kB / 459.1 MB, free: 10.66 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.0002522/0.273, allocations: 193.7 kB / 459.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2731, allocations: 43.72 kB / 459.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.2746, allocations: 0.7375 MB / 460.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2746, allocations: 8 kB / 460.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2746, allocations: 4 kB / 460.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2746, allocations: 3.984 kB / 460.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.2771, allocations: 1.472 MB / 461.6 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2771, allocations: 4 kB / 461.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.2776, allocations: 115.9 kB / 461.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.2779, allocations: 97.66 kB / 461.8 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.278, allocations: 23.98 kB / 461.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.2808, allocations: 3.138 MB / 465 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.2808, allocations: 8.031 kB / 465 MB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.2828, allocations: 1.121 MB / 466.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.2829, allocations: 43.67 kB / 466.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.2829, allocations: 19.95 kB / 466.1 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.2833, allocations: 32.03 kB / 466.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2834, allocations: 56.48 kB / 466.2 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.2835, allocations: 20 kB / 466.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.2837, allocations: 193.2 kB / 466.4 MB, free: 3 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2837, allocations: 0 / 466.4 MB, free: 3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007435/0.2844, allocations: 215.6 kB / 466.7 MB, free: 2.789 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.0002618/0.2847, allocations: 167 kB / 466.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.2862, allocations: 0.8487 MB / 467.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2862, allocations: 0 / 467.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.287, allocations: 0.5359 MB / 468.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.2875, allocations: 40.94 kB / 468.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.2894, allocations: 1.086 MB / 469.3 MB, free: 32 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.2899, allocations: 0.8655 MB / 470.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.2902, allocations: 80.36 kB / 470.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.2904, allocations: 47.42 kB / 470.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2904, allocations: 0 / 470.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01344/0.3038, allocations: 6.833 MB / 477.1 MB, free: 8.191 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/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.653643753845245]