Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001822/0.001822, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 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.002224/0.002224, allocations: 214.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.91 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2187, allocations: 53.36 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005867/0.2245, allocations: 4.231 MB / 435.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.2276, allocations: 1.755 MB / 437.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.2278, allocations: 16 kB / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.2302, allocations: 1.015 MB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.2308, allocations: 238.2 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.2324, allocations: 0.7697 MB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.2331, allocations: 0.6027 MB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.2338, allocations: 445 kB / 440.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.2342, allocations: 275 kB / 441 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.2346, allocations: 330.7 kB / 441.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.141e-05/0.2347, allocations: 52 kB / 441.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.2352, allocations: 299.7 kB / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2354, allocations: 135.5 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.2356, allocations: 306.5 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.2368, allocations: 0.9415 MB / 443 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2368, allocations: 0 / 443 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2368, allocations: 0 / 443 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2368, allocations: 0 / 443 MB, free: 11.54 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003593/0.2404, allocations: 1.164 MB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2404, allocations: 12.03 kB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.2416, allocations: 180.4 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2418, allocations: 182.4 kB / 444.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.2419, allocations: 54.38 kB / 444.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.242, allocations: 60.38 kB / 444.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.2433, allocations: 0.7077 MB / 445.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2433, allocations: 3.984 kB / 445.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.2433, allocations: 32 kB / 445.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.2434, allocations: 16 kB / 445.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2446, allocations: 0.5984 MB / 446 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.2481, allocations: 2.244 MB / 448.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2494, allocations: 0.6808 MB / 448.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.2499, allocations: 247.6 kB / 449.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.2501, allocations: 36.64 kB / 449.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.2501, allocations: 43.16 kB / 449.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.964e-06/0.2501, allocations: 0 / 449.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001621/0.2518, allocations: 0.7086 MB / 449.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.2518, allocations: 115.4 kB / 450.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2521, allocations: 268.8 kB / 450.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.2522, allocations: 37.7 kB / 450.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.2524, allocations: 264.7 kB / 450.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.2525, allocations: 234 kB / 450.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.2528, allocations: 122.6 kB / 451 MB, free: 3.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.253, allocations: 346.8 kB / 451.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/0.2535, allocations: 209.9 kB / 451.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.254, allocations: 293.4 kB / 451.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2551, allocations: 0.5301 MB / 452.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2551, allocations: 0 / 452.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001339/0.2564, allocations: 0.6298 MB / 453 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2564, allocations: 12.19 kB / 453 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2564, allocations: 0 / 453 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2564, allocations: 4 kB / 453 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.2572, allocations: 159.7 kB / 453.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2572, allocations: 4 kB / 453.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.2576, allocations: 79.48 kB / 453.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.2577, allocations: 23.98 kB / 453.2 MB, free: 0.9609 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.2579, allocations: 193.7 kB / 453.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.258, allocations: 35.77 kB / 453.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.2593, allocations: 0.6029 MB / 454.1 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.2593, allocations: 8 kB / 454.1 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2593, allocations: 3.938 kB / 454.1 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.2594, allocations: 3.984 kB / 454.1 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.2616, allocations: 1.276 MB / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2616, allocations: 0 / 455.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.2622, allocations: 123.9 kB / 455.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2622, allocations: 4 kB / 455.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/0.2622, allocations: 19.92 kB / 455.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.2622, allocations: 11.94 kB / 455.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2622, allocations: 0 / 455.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2639, allocations: 0.9824 MB / 456.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.264, allocations: 47.66 kB / 456.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.2641, allocations: 15.94 kB / 456.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.2645, allocations: 27.97 kB / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/0.2646, allocations: 44.52 kB / 456.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.2646, allocations: 16 kB / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.2648, allocations: 192.5 kB / 456.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2648, allocations: 3.938 kB / 456.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.2654, allocations: 183.6 kB / 457 MB, free: 13.11 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002319/0.2656, allocations: 155.1 kB / 457.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.2667, allocations: 0.5013 MB / 457.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2667, allocations: 0 / 457.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.2672, allocations: 255.9 kB / 457.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.2677, allocations: 48.42 kB / 458 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.2698, allocations: 1.054 MB / 459 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.2702, allocations: 0.8421 MB / 459.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.2706, allocations: 79.39 kB / 459.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.2707, allocations: 43.42 kB / 460 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2707, allocations: 0 / 460 MB, free: 10.06 MB / 366.1 MB Notification: Performance of Templates: time 0.01139/0.2821, allocations: 5.669 MB / 465.6 MB, free: 4.441 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.655376620823517]