Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009145/0.0009145, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.000968/0.000968, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 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.013/1.013, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.611e-05, allocations: 2.312 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004002/0.004028, allocations: 4.034 MB / 256.3 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.006424, allocations: 1.616 MB / 257.9 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.006725, allocations: 12 kB / 257.9 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.008101, allocations: 1.042 MB / 259 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.00865, allocations: 246.1 kB / 259.2 MB, free: 268 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.009701, allocations: 0.7082 MB / 259.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000844/0.01054, allocations: 0.6453 MB / 260.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.01109, allocations: 427.4 kB / 261 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.01151, allocations: 399.1 kB / 261.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.01179, allocations: 267.3 kB / 261.6 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.01184, allocations: 52 kB / 261.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.01229, allocations: 255.5 kB / 261.9 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.01237, allocations: 139.4 kB / 262.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.01253, allocations: 211.5 kB / 262.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.0133, allocations: 0.6617 MB / 262.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01331, allocations: 0 / 262.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01331, allocations: 0 / 262.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.01332, allocations: 0 / 262.9 MB, free: 12.52 MB / 250.7 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.002077/0.01539, allocations: 1.26 MB / 264.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.01543, allocations: 15.98 kB / 264.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.01617, allocations: 296 kB / 264.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.01634, allocations: 180.5 kB / 264.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.0164, allocations: 50.38 kB / 264.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.872e-05/0.0165, allocations: 68.38 kB / 264.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.01719, allocations: 0.5388 MB / 265.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.01721, allocations: 4.188 kB / 265.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.01726, allocations: 28.38 kB / 265.4 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.01727, allocations: 19.94 kB / 265.4 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.01763, allocations: 244.9 kB / 265.6 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.01972, allocations: 1.747 MB / 267.4 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.02059, allocations: 0.528 MB / 267.9 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.02073, allocations: 133.3 kB / 268 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.425e-05/0.02081, allocations: 24.64 kB / 268 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.02083, allocations: 46.05 kB / 268.1 MB, free: 7.164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 2.094e-06/0.02084, allocations: 0 / 268.1 MB, free: 7.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.000537/0.02137, allocations: 413.6 kB / 268.5 MB, free: 6.758 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.02143, allocations: 115.5 kB / 268.6 MB, free: 6.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.0216, allocations: 278.5 kB / 268.9 MB, free: 6.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.02163, allocations: 49.56 kB / 268.9 MB, free: 6.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.02178, allocations: 323.3 kB / 269.2 MB, free: 5.953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.02191, allocations: 237.9 kB / 269.5 MB, free: 5.719 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.02204, allocations: 128.3 kB / 269.6 MB, free: 5.586 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.0222, allocations: 0.5236 MB / 270.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.02231, allocations: 77.94 kB / 270.2 MB, free: 4.977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.02249, allocations: 229.7 kB / 270.4 MB, free: 4.711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.02279, allocations: 302.8 kB / 270.7 MB, free: 4.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02279, allocations: 3.938 kB / 270.7 MB, free: 4.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004532/0.02325, allocations: 421 kB / 271.1 MB, free: 3.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.02326, allocations: 4 kB / 271.1 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.02327, allocations: 11.92 kB / 271.1 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.02329, allocations: 4 kB / 271.2 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.02366, allocations: 151.8 kB / 271.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.02367, allocations: 4 kB / 271.3 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.02386, allocations: 75.44 kB / 271.4 MB, free: 3.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.02389, allocations: 20.19 kB / 271.4 MB, free: 3.703 MB / 250.7 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.0001383/0.02403, allocations: 200.4 kB / 271.6 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.02411, allocations: 59.77 kB / 271.7 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.02457, allocations: 393.1 kB / 272 MB, free: 3.043 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.02458, allocations: 15.98 kB / 272.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.02458, allocations: 0 / 272.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.02459, allocations: 0 / 272.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.02554, allocations: 0.8779 MB / 272.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02554, allocations: 0 / 272.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.02582, allocations: 119.8 kB / 273 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.02582, allocations: 4 kB / 273.1 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.02585, allocations: 12 kB / 273.1 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.02585, allocations: 7.984 kB / 273.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02585, allocations: 0 / 273.1 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.02644, allocations: 0.7092 MB / 273.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.02648, allocations: 51.56 kB / 273.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.02652, allocations: 8 kB / 273.8 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.02669, allocations: 24 kB / 273.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.02676, allocations: 44.56 kB / 273.9 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.02677, allocations: 12 kB / 273.9 MB, free: 1.105 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.663e-05/0.02686, allocations: 197 kB / 274.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02686, allocations: 0 / 274.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.02725, allocations: 175.6 kB / 274.3 MB, free: 0.7422 MB / 250.7 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.0001972/0.02745, allocations: 155.1 kB / 274.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.0281, allocations: 315 kB / 274.7 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0281, allocations: 0 / 274.7 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.02826, allocations: 168.6 kB / 274.9 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.02857, allocations: 60.58 kB / 275 MB, free: 44 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.02994, allocations: 0.9871 MB / 276 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.611e-05/0.03001, allocations: 124.7 kB / 276.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.03023, allocations: 79.33 kB / 276.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.03043, allocations: 154.2 kB / 276.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03043, allocations: 0 / 276.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of Templates: time 0.008345/0.03877, allocations: 5.509 MB / 281.8 MB, free: 9.172 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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/CylinderSections/CylinderSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.850767280906439]