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.001342/0.001342, allocations: 106 kB / 21.18 MB, free: 0.707 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.001519/0.001519, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.498/1.498, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.001772/0.001772, allocations: 59.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2492, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004644/0.2539, allocations: 4.32 MB / 401.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.2561, allocations: 1.704 MB / 402.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.2563, allocations: 16.34 kB / 402.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2583, allocations: 1.028 MB / 403.9 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.2588, allocations: 253.5 kB / 404.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2602, allocations: 0.7945 MB / 404.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.2608, allocations: 0.6398 MB / 405.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.2614, allocations: 408.4 kB / 406 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.2617, allocations: 277.4 kB / 406.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.2621, allocations: 370.3 kB / 406.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.2622, allocations: 56.47 kB / 406.7 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.2628, allocations: 267.2 kB / 406.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.2629, allocations: 145 kB / 407.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.2631, allocations: 325.8 kB / 407.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2641, allocations: 0.9548 MB / 408.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2641, allocations: 1.375 kB / 408.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2641, allocations: 0 / 408.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2641, allocations: 0 / 408.3 MB, free: 2.312 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.003445/0.2676, allocations: 1.207 MB / 409.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2676, allocations: 13.73 kB / 409.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.269, allocations: 210 kB / 409.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2692, allocations: 179 kB / 409.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.2692, allocations: 56.19 kB / 410 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2693, allocations: 77.5 kB / 410.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.2707, allocations: 0.7745 MB / 410.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.2707, allocations: 5.297 kB / 410.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.2707, allocations: 30.16 kB / 410.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.2708, allocations: 22.77 kB / 410.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.272, allocations: 0.6644 MB / 411.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.2765, allocations: 2.85 MB / 414.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.2783, allocations: 0.8218 MB / 415.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.279, allocations: 285.7 kB / 415.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.2791, allocations: 21.27 kB / 415.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2791, allocations: 43.73 kB / 415.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.2791, allocations: 4 kB / 415.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002595/0.2817, allocations: 0.9832 MB / 416.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.2818, allocations: 111.4 kB / 416.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.2821, allocations: 277.8 kB / 416.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.2822, allocations: 39.89 kB / 417 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.2824, allocations: 305 kB / 417.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.2827, allocations: 255.5 kB / 417.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.2829, allocations: 138.7 kB / 417.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2831, allocations: 351.2 kB / 418 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.2836, allocations: 233.1 kB / 418.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.2842, allocations: 392.7 kB / 418.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2854, allocations: 0.634 MB / 419.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2854, allocations: 1.375 kB / 419.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001657/0.2871, allocations: 0.8319 MB / 420.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2871, allocations: 5.656 kB / 420.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2871, allocations: 7.859 kB / 420.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.2875, allocations: 124.2 kB / 420.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.2882, allocations: 160.4 kB / 420.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.2918, allocations: 3.584 MB / 424 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.2923, allocations: 88.22 kB / 424 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.2924, allocations: 30.14 kB / 424.1 MB, free: 6.973 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.000303/0.2927, allocations: 203.3 kB / 424.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2928, allocations: 43.72 kB / 424.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.2944, allocations: 0.7409 MB / 425.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2944, allocations: 7.438 kB / 425.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2944, allocations: 3.281 kB / 425.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.2944, allocations: 3.984 kB / 425.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.2971, allocations: 1.457 MB / 426.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2971, allocations: 4 kB / 426.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.2976, allocations: 115.8 kB / 426.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.2979, allocations: 109.6 kB / 426.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.2979, allocations: 15.98 kB / 426.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.3009, allocations: 3.142 MB / 429.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3009, allocations: 3.938 kB / 429.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.303, allocations: 1.129 MB / 431 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.3031, allocations: 51.52 kB / 431.1 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.3031, allocations: 16 kB / 431.1 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.3035, allocations: 23.98 kB / 431.1 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.3037, allocations: 56.55 kB / 431.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.3037, allocations: 23.98 kB / 431.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.3039, allocations: 185.2 kB / 431.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3039, allocations: 4.062 kB / 431.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008199/0.3047, allocations: 215.7 kB / 431.6 MB, free: 15.56 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.0002567/0.305, allocations: 151 kB / 431.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.3067, allocations: 0.8522 MB / 432.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3067, allocations: 0 / 432.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.3076, allocations: 0.5368 MB / 433.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.308, allocations: 44.42 kB / 433.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3101, allocations: 1.125 MB / 434.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.3106, allocations: 0.8616 MB / 435.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.311, allocations: 80.36 kB / 435.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3111, allocations: 47.42 kB / 435.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3111, allocations: 0 / 435.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01347/0.3246, allocations: 6.706 MB / 442 MB, free: 5.035 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.688422902487218]