Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001633/0.001633, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001537/0.001537, allocations: 209.4 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 55.86 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 49.16 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005103/0.2831, allocations: 3.87 MB / 400.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.2863, allocations: 1.592 MB / 402.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.2866, allocations: 12.38 kB / 402.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.2889, allocations: 0.9511 MB / 403.3 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.2896, allocations: 257.5 kB / 403.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.291, allocations: 0.7106 MB / 404.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.2917, allocations: 0.6386 MB / 404.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007003/0.2924, allocations: 472.3 kB / 405.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.2929, allocations: 279.9 kB / 405.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.2933, allocations: 314.1 kB / 405.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.629e-05/0.2933, allocations: 55.84 kB / 406 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.2939, allocations: 256.8 kB / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.294, allocations: 144.4 kB / 406.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.2942, allocations: 267.5 kB / 406.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2953, allocations: 0.9588 MB / 407.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.2953, allocations: 0 / 407.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2953, allocations: 1.406 kB / 407.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2953, allocations: 0 / 407.6 MB, free: 3.051 MB / 318.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.003681/0.299, allocations: 1.203 MB / 408.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2991, allocations: 13.83 kB / 408.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.3005, allocations: 209.1 kB / 409 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3007, allocations: 187.7 kB / 409.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.3007, allocations: 56.12 kB / 409.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3008, allocations: 73.38 kB / 409.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3021, allocations: 0.7941 MB / 410.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3022, allocations: 8.922 kB / 410.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.3022, allocations: 34.41 kB / 410.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.3023, allocations: 18.06 kB / 410.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.3035, allocations: 0.658 MB / 410.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.3072, allocations: 2.171 MB / 413 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.3092, allocations: 0.8161 MB / 413.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.3098, allocations: 290.2 kB / 414.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.834e-05/0.3099, allocations: 26.58 kB / 414.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.31, allocations: 39.03 kB / 414.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/0.31, allocations: 0 / 414.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002709/0.3127, allocations: 0.9761 MB / 415.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.3128, allocations: 118.2 kB / 415.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.3131, allocations: 264.7 kB / 415.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.3132, allocations: 36.11 kB / 415.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3134, allocations: 305.9 kB / 415.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.3136, allocations: 259.2 kB / 416.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3139, allocations: 142.4 kB / 416.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.314, allocations: 350.7 kB / 416.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.3146, allocations: 230.7 kB / 416.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.3153, allocations: 409.2 kB / 417.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3165, allocations: 0.6359 MB / 417.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3165, allocations: 9.375 kB / 417.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001722/0.3182, allocations: 0.8284 MB / 418.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3182, allocations: 6.625 kB / 418.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3182, allocations: 3.219 kB / 418.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.3187, allocations: 123.6 kB / 418.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.3193, allocations: 156.2 kB / 419 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.323, allocations: 3.507 MB / 422.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.3236, allocations: 87.3 kB / 422.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.3237, allocations: 35.34 kB / 422.6 MB, free: 8.473 MB / 334.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.00033/0.324, allocations: 203 kB / 422.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3241, allocations: 46.98 kB / 422.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.3257, allocations: 0.737 MB / 423.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3258, allocations: 7.375 kB / 423.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.3258, allocations: 4.219 kB / 423.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3258, allocations: 3.984 kB / 423.6 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.3285, allocations: 1.29 MB / 424.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3285, allocations: 4 kB / 424.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.329, allocations: 111.9 kB / 425 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.3293, allocations: 121.5 kB / 425.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.3294, allocations: 19.92 kB / 425.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.3325, allocations: 3.073 MB / 428.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3325, allocations: 0 / 428.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.3348, allocations: 1.121 MB / 429.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.3349, allocations: 55.52 kB / 429.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.3349, allocations: 12 kB / 429.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3353, allocations: 28.05 kB / 429.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3355, allocations: 60.48 kB / 429.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.3355, allocations: 23.98 kB / 429.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.3357, allocations: 180.5 kB / 429.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3357, allocations: 0 / 429.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008646/0.3366, allocations: 215.6 kB / 429.9 MB, free: 1.238 MB / 334.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.0002694/0.3368, allocations: 151 kB / 430 MB, free: 1.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3386, allocations: 0.8413 MB / 430.9 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3386, allocations: 0 / 430.9 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000897/0.3395, allocations: 0.5478 MB / 431.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.34, allocations: 36.44 kB / 431.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3423, allocations: 1.117 MB / 432.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3426, allocations: 269.5 kB / 432.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.343, allocations: 76.33 kB / 432.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.3431, allocations: 43.42 kB / 433 MB, free: 14.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3431, allocations: 0 / 433 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01391/0.357, allocations: 6.654 MB / 439.6 MB, free: 7.379 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.842800820246339]