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.001571/0.001571, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002033/0.002033, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001533/0.001533, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2274, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005484/0.2329, allocations: 3.806 MB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.236, allocations: 1.619 MB / 437 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.2362, allocations: 12 kB / 437 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.2386, allocations: 0.9412 MB / 438 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.2391, allocations: 246.2 kB / 438.2 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.2408, allocations: 0.7159 MB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.2414, allocations: 0.6028 MB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.2421, allocations: 455 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.2425, allocations: 263.1 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.2429, allocations: 330.7 kB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.243, allocations: 56 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.2436, allocations: 295.7 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2437, allocations: 131.5 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.2439, allocations: 254.7 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.245, allocations: 0.9443 MB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2451, allocations: 0 / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2451, allocations: 0 / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2451, allocations: 4 kB / 442.2 MB, free: 12.05 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.003626/0.2487, allocations: 1.161 MB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2487, allocations: 12.03 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.25, allocations: 180.4 kB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2502, allocations: 182.4 kB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/0.2503, allocations: 54.38 kB / 443.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2504, allocations: 68.33 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2517, allocations: 0.7328 MB / 444.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.2517, allocations: 0 / 444.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-05/0.2518, allocations: 28 kB / 444.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.2518, allocations: 16 kB / 444.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.2531, allocations: 0.6023 MB / 445.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.2565, allocations: 1.775 MB / 447 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.2578, allocations: 0.6696 MB / 447.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.2583, allocations: 249.5 kB / 447.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.2585, allocations: 28.62 kB / 448 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.2585, allocations: 39.22 kB / 448 MB, free: 6.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.2585, allocations: 0 / 448 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001738/0.2602, allocations: 0.7047 MB / 448.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.2603, allocations: 111.5 kB / 448.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2606, allocations: 255.9 kB / 449.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.2607, allocations: 33.7 kB / 449.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.261, allocations: 276.6 kB / 449.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.2612, allocations: 234 kB / 449.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.2614, allocations: 118.6 kB / 449.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2616, allocations: 342.8 kB / 450 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.262, allocations: 217.9 kB / 450.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.2626, allocations: 327 kB / 450.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2636, allocations: 0.5263 MB / 451.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2637, allocations: 4 kB / 451.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001384/0.265, allocations: 0.6336 MB / 451.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2651, allocations: 4.188 kB / 451.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2651, allocations: 4 kB / 451.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.2651, allocations: 11.94 kB / 451.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.2658, allocations: 155.8 kB / 451.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2658, allocations: 4 kB / 451.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.2663, allocations: 75.47 kB / 452 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.2664, allocations: 24 kB / 452 MB, free: 1.961 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.0002587/0.2666, allocations: 189.6 kB / 452.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2667, allocations: 39.77 kB / 452.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.268, allocations: 0.6025 MB / 452.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2681, allocations: 8 kB / 452.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2681, allocations: 0 / 452.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.2681, allocations: 3.984 kB / 452.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.2706, allocations: 1.109 MB / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2706, allocations: 0 / 454 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.2712, allocations: 131.8 kB / 454.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.2712, allocations: 4 kB / 454.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.2712, allocations: 12 kB / 454.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.2712, allocations: 4 kB / 454.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2712, allocations: 3.984 kB / 454.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.2729, allocations: 0.9745 MB / 455.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.273, allocations: 51.59 kB / 455.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.2731, allocations: 12 kB / 455.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.2735, allocations: 23.98 kB / 455.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2736, allocations: 52.5 kB / 455.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.2736, allocations: 20 kB / 455.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.2738, allocations: 184.5 kB / 455.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2738, allocations: 0 / 455.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.2744, allocations: 179.7 kB / 455.6 MB, free: 14.3 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.0002629/0.2747, allocations: 159 kB / 455.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.2758, allocations: 0.4977 MB / 456.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2758, allocations: 8.062 kB / 456.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.2763, allocations: 251.6 kB / 456.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.2768, allocations: 48.53 kB / 456.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.279, allocations: 1.05 MB / 457.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2792, allocations: 249.1 kB / 457.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.2796, allocations: 71.34 kB / 457.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.2797, allocations: 47.42 kB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2797, allocations: 0 / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01206/0.2918, allocations: 5.867 MB / 463.8 MB, free: 6.09 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.615032600238919]