Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001785/0.001785, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002286/0.002286, allocations: 193.4 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 48.06 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2189, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005739/0.2246, allocations: 3.817 MB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.2274, allocations: 1.534 MB / 428.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.2276, allocations: 12 kB / 428.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.23, allocations: 0.9487 MB / 429.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.2306, allocations: 230.3 kB / 429.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.2323, allocations: 0.7434 MB / 430.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.233, allocations: 0.6145 MB / 431 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.2337, allocations: 441.8 kB / 431.4 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.2341, allocations: 279 kB / 431.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.2345, allocations: 298.7 kB / 432 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/0.2346, allocations: 52 kB / 432 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005544/0.2352, allocations: 259.7 kB / 432.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2353, allocations: 131.5 kB / 432.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.2355, allocations: 254.8 kB / 432.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.2366, allocations: 0.9258 MB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.2366, allocations: 4 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2366, allocations: 4 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.2366, allocations: 0 / 433.6 MB, free: 3.945 MB / 334.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.00361/0.2403, allocations: 1.141 MB / 434.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2403, allocations: 8.031 kB / 434.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.2414, allocations: 180.4 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.2417, allocations: 178.5 kB / 435.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.2417, allocations: 54.38 kB / 435.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.2418, allocations: 68.38 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2433, allocations: 0.7367 MB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.2433, allocations: 3.953 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.2434, allocations: 24 kB / 436 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.2434, allocations: 16 kB / 436 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.2447, allocations: 0.5986 MB / 436.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.2482, allocations: 1.771 MB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.2496, allocations: 0.6659 MB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.2502, allocations: 245.6 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.2503, allocations: 28.67 kB / 439.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.2503, allocations: 39.22 kB / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.485e-06/0.2503, allocations: 0 / 439.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001715/0.252, allocations: 0.7007 MB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.2521, allocations: 111.5 kB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.2524, allocations: 256.1 kB / 440.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.2525, allocations: 37.7 kB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.2527, allocations: 272.6 kB / 440.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.2529, allocations: 234 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.2531, allocations: 114.7 kB / 441 MB, free: 12.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2532, allocations: 346.8 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.2538, allocations: 205.9 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.2544, allocations: 331.1 kB / 441.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2555, allocations: 0.5106 MB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2555, allocations: 0 / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001386/0.2569, allocations: 0.6297 MB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2569, allocations: 4 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2569, allocations: 4 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.2569, allocations: 4 kB / 443 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.2577, allocations: 171.9 kB / 443.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2577, allocations: 7.984 kB / 443.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.2582, allocations: 79.44 kB / 443.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.2583, allocations: 23.98 kB / 443.3 MB, free: 9.914 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.0002537/0.2585, allocations: 189.7 kB / 443.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.2586, allocations: 31.81 kB / 443.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.26, allocations: 0.6026 MB / 444.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.26, allocations: 11.98 kB / 444.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.26, allocations: 4 kB / 444.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.26, allocations: 3.938 kB / 444.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.2622, allocations: 1.101 MB / 445.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2622, allocations: 3.938 kB / 445.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.2628, allocations: 131.9 kB / 445.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2628, allocations: 0 / 445.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.2629, allocations: 16 kB / 445.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2629, allocations: 4 kB / 445.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2629, allocations: 3.938 kB / 445.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.2648, allocations: 0.9745 MB / 446.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.2648, allocations: 51.56 kB / 446.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/0.2649, allocations: 15.98 kB / 446.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.2653, allocations: 32.03 kB / 446.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2654, allocations: 48.52 kB / 446.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.2655, allocations: 19.98 kB / 446.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2657, allocations: 176.5 kB / 446.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 0 / 446.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.2663, allocations: 179.6 kB / 446.9 MB, free: 6.262 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 (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.0002657/0.2665, allocations: 155 kB / 447 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.2677, allocations: 0.5013 MB / 447.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2677, allocations: 4 kB / 447.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.2683, allocations: 251.6 kB / 447.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.2688, allocations: 49.03 kB / 447.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.271, allocations: 1.085 MB / 448.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2713, allocations: 237.1 kB / 449.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.2717, allocations: 83.33 kB / 449.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.2718, allocations: 43.42 kB / 449.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2718, allocations: 0 / 449.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of Templates: time 0.01178/0.2836, allocations: 5.567 MB / 454.8 MB, free: 14.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.555640114471316]