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.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.001815/0.001815, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.002187/0.002187, allocations: 189.4 kB / 22.92 MB, free: 5.582 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.458/1.458, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 56.38 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2532, allocations: 49.11 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006151/0.2593, allocations: 4.333 MB / 398.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003383/0.2627, allocations: 1.7 MB / 400.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.2632, allocations: 11.28 kB / 400.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.2655, allocations: 1.03 MB / 401.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007823/0.2663, allocations: 252.7 kB / 401.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.2678, allocations: 0.8008 MB / 402.6 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007594/0.2686, allocations: 0.6362 MB / 403.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006737/0.2693, allocations: 407.8 kB / 403.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.2697, allocations: 276.1 kB / 403.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.2701, allocations: 364.9 kB / 404.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.2701, allocations: 56 kB / 404.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.2708, allocations: 269.2 kB / 404.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.371e-05/0.2709, allocations: 139.9 kB / 404.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.2711, allocations: 332.2 kB / 405.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.2725, allocations: 0.9508 MB / 406 MB, free: 2.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2725, allocations: 4 kB / 406 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2725, allocations: 0 / 406 MB, free: 2.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2725, allocations: 1.406 kB / 406 MB, free: 2.238 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.003627/0.2762, allocations: 1.274 MB / 407.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2762, allocations: 12.97 kB / 407.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.2776, allocations: 209.2 kB / 407.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2778, allocations: 245.5 kB / 407.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.2779, allocations: 55.94 kB / 407.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.278, allocations: 72.5 kB / 407.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2796, allocations: 0.7687 MB / 408.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.2796, allocations: 9.938 kB / 408.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.2797, allocations: 30.88 kB / 408.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.2797, allocations: 21.77 kB / 408.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2811, allocations: 0.6729 MB / 409.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004651/0.2858, allocations: 3.088 MB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.2885, allocations: 2.018 MB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.2892, allocations: 289.5 kB / 414.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.2893, allocations: 98.47 kB / 414.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.2894, allocations: 42.94 kB / 414.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.895e-06/0.2894, allocations: 288 / 414.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002699/0.2921, allocations: 1.144 MB / 416.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/0.2922, allocations: 110.8 kB / 416.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.2925, allocations: 273.9 kB / 416.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.2926, allocations: 36.55 kB / 416.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.2928, allocations: 305.3 kB / 416.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.293, allocations: 251 kB / 417 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.2933, allocations: 143.1 kB / 417.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2934, allocations: 359.5 kB / 417.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.2939, allocations: 225.7 kB / 417.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.2946, allocations: 388.9 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2957, allocations: 0.6323 MB / 418.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2957, allocations: 1.188 kB / 418.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001653/0.2974, allocations: 0.8286 MB / 419.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2974, allocations: 7.031 kB / 419.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2974, allocations: 4.688 kB / 419.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/0.2978, allocations: 122.6 kB / 419.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.2985, allocations: 164.7 kB / 419.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.3021, allocations: 3.802 MB / 423.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.3027, allocations: 92.09 kB / 423.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.3028, allocations: 30.78 kB / 423.8 MB, free: 4.547 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.0003035/0.3031, allocations: 190.9 kB / 424 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3032, allocations: 39.77 kB / 424 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.3048, allocations: 0.7481 MB / 424.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3048, allocations: 7.938 kB / 424.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3048, allocations: 2.75 kB / 424.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3048, allocations: 5.359 kB / 424.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.3074, allocations: 1.493 MB / 426.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3074, allocations: 0 / 426.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.308, allocations: 111.9 kB / 426.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.3082, allocations: 109.6 kB / 426.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.3083, allocations: 12 kB / 426.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.3113, allocations: 3.359 MB / 429.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3113, allocations: 0 / 429.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.3134, allocations: 1.125 MB / 431 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.3135, allocations: 124.7 kB / 431.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.3136, allocations: 12 kB / 431.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.314, allocations: 31.98 kB / 431.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.3141, allocations: 60.58 kB / 431.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.3142, allocations: 16 kB / 431.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3144, allocations: 194 kB / 431.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3144, allocations: 0 / 431.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009021/0.3153, allocations: 219.6 kB / 431.6 MB, free: 13.14 MB / 350.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.0002785/0.3156, allocations: 143.2 kB / 431.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.3173, allocations: 0.849 MB / 432.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3173, allocations: 0 / 432.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.3181, allocations: 0.5362 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3186, allocations: 48.39 kB / 433.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.3209, allocations: 1.131 MB / 434.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.3214, allocations: 0.8656 MB / 435.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.3217, allocations: 76.36 kB / 435.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3219, allocations: 51.42 kB / 435.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3219, allocations: 0 / 435.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Templates: time 0.01326/0.3351, allocations: 6.519 MB / 441.8 MB, free: 2.793 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.6330741457641125]