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.001444/0.001444, allocations: 116 kB / 18.45 MB, free: 4.473 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.001529/0.001529, allocations: 213.6 kB / 21.42 MB, free: 1.512 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.517/1.517, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.001503/0.001503, allocations: 51.92 kB / 374.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 53.33 MB / 427.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006005/0.1144, allocations: 4.212 MB / 431.7 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1177, allocations: 1.736 MB / 433.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.118, allocations: 11.94 kB / 433.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.1205, allocations: 1.018 MB / 434.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000712/0.1212, allocations: 246.2 kB / 434.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.1229, allocations: 0.7668 MB / 435.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.1237, allocations: 0.6027 MB / 436.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.1243, allocations: 379.4 kB / 436.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.1248, allocations: 275 kB / 436.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.1252, allocations: 330.7 kB / 437 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.1253, allocations: 52 kB / 437.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.1259, allocations: 295.7 kB / 437.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.126, allocations: 139.5 kB / 437.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.1263, allocations: 302.5 kB / 437.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.1275, allocations: 0.9418 MB / 438.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1275, allocations: 0 / 438.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1275, allocations: 4 kB / 438.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.1275, allocations: 0 / 438.8 MB, free: 8.941 MB / 366.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.003749/0.1312, allocations: 1.244 MB / 440 MB, free: 7.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1313, allocations: 8.031 kB / 440 MB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.1325, allocations: 176.4 kB / 440.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1328, allocations: 236.3 kB / 440.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.1328, allocations: 50.38 kB / 440.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.133, allocations: 72.33 kB / 440.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1343, allocations: 0.7077 MB / 441.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.1343, allocations: 0 / 441.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.1344, allocations: 31.98 kB / 441.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1344, allocations: 16 kB / 441.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.1357, allocations: 0.6023 MB / 441.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.1393, allocations: 2.325 MB / 444.2 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.1412, allocations: 1.57 MB / 445.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.1417, allocations: 239.3 kB / 446 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.1419, allocations: 190.7 kB / 446.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.142, allocations: 43.12 kB / 446.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.142, allocations: 0 / 446.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.001692/0.1437, allocations: 0.7095 MB / 447 MB, free: 220 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.1437, allocations: 107.4 kB / 447.1 MB, free: 88 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1838/0.3276, allocations: 266 kB / 447.3 MB, free: 24.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.3277, allocations: 34.8 kB / 447.4 MB, free: 24.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3279, allocations: 268.6 kB / 447.6 MB, free: 24.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.3281, allocations: 240.1 kB / 447.9 MB, free: 24.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.3284, allocations: 116.1 kB / 448 MB, free: 24.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.3285, allocations: 348.1 kB / 448.3 MB, free: 23.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.3292, allocations: 209.8 kB / 448.5 MB, free: 23.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.3299, allocations: 304.1 kB / 448.8 MB, free: 23.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3313, allocations: 0.5159 MB / 449.3 MB, free: 23.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3313, allocations: 1.219 kB / 449.3 MB, free: 23.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001779/0.3331, allocations: 0.6317 MB / 450 MB, free: 23.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3331, allocations: 5.375 kB / 450 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3331, allocations: 2.094 kB / 450 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.3332, allocations: 8.062 kB / 450 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.3342, allocations: 169.1 kB / 450.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.3342, allocations: 4.562 kB / 450.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000661/0.3348, allocations: 74.14 kB / 450.2 MB, free: 23.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.3349, allocations: 23.56 kB / 450.2 MB, free: 23.62 MB / 366.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.0002961/0.3352, allocations: 188 kB / 450.4 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.3354, allocations: 37.33 kB / 450.5 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.3371, allocations: 0.6097 MB / 451.1 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3371, allocations: 10.08 kB / 451.1 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3371, allocations: 1.219 kB / 451.1 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.3372, allocations: 0 / 451.1 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.34, allocations: 1.292 MB / 452.4 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.34, allocations: 0 / 452.4 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/0.3408, allocations: 128.5 kB / 452.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.3408, allocations: 2.688 kB / 452.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.3409, allocations: 16.98 kB / 452.5 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3409, allocations: 2.375 kB / 452.5 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3409, allocations: 0.5625 kB / 452.5 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.3432, allocations: 0.9855 MB / 453.5 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3433, allocations: 128.1 kB / 453.6 MB, free: 21.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.3434, allocations: 15.81 kB / 453.6 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/0.344, allocations: 27 kB / 453.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.3441, allocations: 39.75 kB / 453.7 MB, free: 21.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.3442, allocations: 18.3 kB / 453.7 MB, free: 21.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.3444, allocations: 195.8 kB / 453.9 MB, free: 21.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3444, allocations: 0 / 453.9 MB, free: 21.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009758/0.3454, allocations: 179.4 kB / 454.1 MB, free: 21.76 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.000276/0.3457, allocations: 167.1 kB / 454.3 MB, free: 21.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.3472, allocations: 0.5039 MB / 454.8 MB, free: 21.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3472, allocations: 0 / 454.8 MB, free: 21.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.348, allocations: 251 kB / 455 MB, free: 21.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.3488, allocations: 46.23 kB / 455.1 MB, free: 21.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.3517, allocations: 1.073 MB / 456.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3521, allocations: 0.8451 MB / 457 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.3524, allocations: 55.84 kB / 457 MB, free: 20.12 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3524, allocations: 0 / 457 MB, free: 20.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01628/0.3687, allocations: 7.031 MB / 464.1 MB, free: 19.22 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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: 7.464717920986004]