Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.83 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2087, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005921/0.2146, allocations: 4.378 MB / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2175, allocations: 1.748 MB / 438.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.2178, allocations: 12 kB / 438.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.2201, allocations: 1.03 MB / 439.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.2207, allocations: 246.2 kB / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.2223, allocations: 0.7861 MB / 440.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.2231, allocations: 0.6299 MB / 440.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006747/0.2237, allocations: 399 kB / 441.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.2241, allocations: 278.9 kB / 441.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.2246, allocations: 358.5 kB / 441.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.2247, allocations: 60 kB / 442 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.2252, allocations: 287.7 kB / 442.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2253, allocations: 143.5 kB / 442.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.2257, allocations: 330.3 kB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2268, allocations: 0.969 MB / 443.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2268, allocations: 4 kB / 443.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2268, allocations: 0 / 443.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.2268, allocations: 0 / 443.7 MB, free: 11.73 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.0039/0.2307, allocations: 1.29 MB / 445 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2308, allocations: 12.03 kB / 445 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.2322, allocations: 196.4 kB / 445.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.2325, allocations: 243.5 kB / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.2325, allocations: 54.38 kB / 445.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2327, allocations: 72.38 kB / 445.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.2341, allocations: 0.7741 MB / 446.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.2341, allocations: 8 kB / 446.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/0.2342, allocations: 28 kB / 446.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2342, allocations: 20 kB / 446.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.2356, allocations: 0.6727 MB / 447 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.2403, allocations: 3.262 MB / 450.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.2428, allocations: 2.024 MB / 452.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.2435, allocations: 295.5 kB / 452.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.2436, allocations: 182.8 kB / 452.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2437, allocations: 43.48 kB / 452.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/0.2437, allocations: 3.938 kB / 452.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002667/0.2463, allocations: 1.134 MB / 454 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.2464, allocations: 111.5 kB / 454.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.2467, allocations: 282.5 kB / 454.3 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.2467, allocations: 37.73 kB / 454.4 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.247, allocations: 296.6 kB / 454.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.2472, allocations: 269.7 kB / 454.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2474, allocations: 134.6 kB / 455.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2475, allocations: 350.5 kB / 455.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.248, allocations: 233.8 kB / 455.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.2487, allocations: 386.3 kB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.2499, allocations: 0.6415 MB / 456.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2499, allocations: 0 / 456.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001632/0.2515, allocations: 0.8308 MB / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2515, allocations: 12.03 kB / 457.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2515, allocations: 4 kB / 457.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/0.2519, allocations: 117.6 kB / 457.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.2526, allocations: 163.7 kB / 457.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.2561, allocations: 3.791 MB / 461.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.2566, allocations: 91.38 kB / 461.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.2567, allocations: 31.98 kB / 461.7 MB, free: 8.441 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.0002507/0.2569, allocations: 202.4 kB / 461.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.257, allocations: 43.72 kB / 461.9 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.2586, allocations: 0.7336 MB / 462.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2586, allocations: 0 / 462.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2586, allocations: 3.984 kB / 462.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2587, allocations: 128.7 kB / 462.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.2588, allocations: 15.94 kB / 462.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.2592, allocations: 31.97 kB / 462.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2593, allocations: 60.5 kB / 462.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001859/0.2612, allocations: 0.8572 MB / 463.8 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001771/0.2629, allocations: 1.084 MB / 464.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004641/0.2634, allocations: 221.1 kB / 465.1 MB, free: 5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2636, allocations: 209.8 kB / 465.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of Backend: time 2.51e-07/0.2636, allocations: 0 / 465.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.2654, allocations: 0.8414 MB / 466.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of SimCode: time 0.001727/0.2671, allocations: 1.465 MB / 467.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of Templates: time 0.01706/0.2842, allocations: 9.954 MB / 477.5 MB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.449859480839223]