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.001246/0.001246, allocations: 115.8 kB / 19.18 MB, free: 3.762 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.001604/0.001604, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.419/1.419, allocations: 230.4 MB / 255.4 MB, free: 15.04 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.001921/0.001921, allocations: 71.83 kB / 374.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09769, allocations: 53.31 MB / 428.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00576/0.1034, allocations: 4.367 MB / 432.4 MB, free: 0 / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1821/0.2856, allocations: 1.733 MB / 434.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.2858, allocations: 12.09 kB / 434.2 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.2877, allocations: 1.023 MB / 435.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005563/0.2883, allocations: 255.7 kB / 435.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2895, allocations: 0.7773 MB / 436.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.29, allocations: 0.6384 MB / 436.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005935/0.2906, allocations: 402 kB / 437.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.291, allocations: 269.3 kB / 437.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.2913, allocations: 361.8 kB / 437.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.121e-05/0.2914, allocations: 56.12 kB / 437.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.292, allocations: 298.4 kB / 438.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.2921, allocations: 130 kB / 438.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.2923, allocations: 336.3 kB / 438.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2934, allocations: 0.972 MB / 439.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2934, allocations: 3.938 kB / 439.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2934, allocations: 0 / 439.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2935, allocations: 0 / 439.6 MB, free: 6.684 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.003582/0.297, allocations: 1.288 MB / 440.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2971, allocations: 9.094 kB / 440.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.2985, allocations: 198 kB / 441.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2987, allocations: 241.2 kB / 441.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.2987, allocations: 55.88 kB / 441.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2988, allocations: 72.61 kB / 441.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3001, allocations: 0.7744 MB / 442.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.3002, allocations: 1.938 kB / 442.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.3002, allocations: 30.84 kB / 442.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.3002, allocations: 17.72 kB / 442.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3015, allocations: 0.6683 MB / 443 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.3052, allocations: 3.268 MB / 446.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.3071, allocations: 2.014 MB / 448.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.3077, allocations: 294.1 kB / 448.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.3079, allocations: 184.8 kB / 448.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.3079, allocations: 39.69 kB / 448.8 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.3079, allocations: 0 / 448.8 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002795/0.3107, allocations: 1.139 MB / 449.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.3108, allocations: 111.4 kB / 450 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3112, allocations: 278.5 kB / 450.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.3112, allocations: 40.05 kB / 450.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.3115, allocations: 301.9 kB / 450.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.3117, allocations: 267.2 kB / 450.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.3119, allocations: 136.4 kB / 451 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3121, allocations: 353.3 kB / 451.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.3125, allocations: 228.5 kB / 451.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.3132, allocations: 392.2 kB / 452 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.3144, allocations: 0.6394 MB / 452.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3144, allocations: 1.984 kB / 452.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001652/0.316, allocations: 0.8305 MB / 453.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.316, allocations: 7.125 kB / 453.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.316, allocations: 5.375 kB / 453.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.3165, allocations: 126.9 kB / 453.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.3171, allocations: 162.3 kB / 453.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/0.3207, allocations: 3.799 MB / 457.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/0.3213, allocations: 80.67 kB / 457.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.3213, allocations: 33.64 kB / 457.7 MB, free: 9.984 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.0003144/0.3216, allocations: 200.9 kB / 457.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3218, allocations: 44.52 kB / 457.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.3233, allocations: 0.7352 MB / 458.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3233, allocations: 9.062 kB / 458.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3233, allocations: 2.75 kB / 458.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3234, allocations: 5.031 kB / 458.6 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.326, allocations: 1.491 MB / 460.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.326, allocations: 5.781 kB / 460.1 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/0.3265, allocations: 110.4 kB / 460.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/0.3268, allocations: 109.7 kB / 460.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.3269, allocations: 14.41 kB / 460.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.3298, allocations: 3.356 MB / 463.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3299, allocations: 0 / 463.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.3318, allocations: 1.124 MB / 464.8 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.332, allocations: 132.5 kB / 465 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.3321, allocations: 12.36 kB / 465 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.3324, allocations: 30.12 kB / 465 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.3326, allocations: 52.73 kB / 465.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.3326, allocations: 25.53 kB / 465.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3328, allocations: 189.1 kB / 465.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 4 kB / 465.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008851/0.3337, allocations: 219.3 kB / 465.5 MB, free: 4.543 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.0002813/0.334, allocations: 151.5 kB / 465.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3356, allocations: 0.8493 MB / 466.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3356, allocations: 0 / 466.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.3365, allocations: 0.5429 MB / 467 MB, free: 3.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.337, allocations: 44.3 kB / 467.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3391, allocations: 1.12 MB / 468.2 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.3396, allocations: 0.8631 MB / 469.1 MB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3398, allocations: 60.22 kB / 469.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3398, allocations: 0 / 469.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of Templates: time 0.01584/0.3557, allocations: 11.86 MB / 481 MB, free: 10.22 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: 7.689994121901691]