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.001187/0.001187, allocations: 82.28 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001067/0.001067, allocations: 154.3 kB / 25.6 MB, free: 8.922 MB / 18.57 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 0.9174/0.9174, allocations: 173.4 MB / 202.2 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] 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 1.734e-06/1.734e-06, allocations: 0 / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.419e-05, allocations: 2.312 kB / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003909/0.003934, allocations: 4.052 MB / 273.3 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.005879, allocations: 1.579 MB / 274.8 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.006081, allocations: 16 kB / 274.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.007221, allocations: 1.042 MB / 275.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.007584, allocations: 250 kB / 276.1 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.008431, allocations: 0.7433 MB / 276.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.008851, allocations: 0.657 MB / 277.5 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.009307, allocations: 435.4 kB / 278 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.009641, allocations: 395.1 kB / 278.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.0099, allocations: 271.2 kB / 278.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.009953, allocations: 52 kB / 278.7 MB, free: 272 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.01029, allocations: 251.6 kB / 278.9 MB, free: 20 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.01038, allocations: 139.5 kB / 279.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.01051, allocations: 211.5 kB / 279.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005877/0.0111, allocations: 0.6695 MB / 279.9 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.0111, allocations: 4 kB / 279.9 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0111, allocations: 0 / 279.9 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.01111, allocations: 0 / 279.9 MB, free: 15 MB / 266.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.001857/0.01296, allocations: 1.253 MB / 281.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.01299, allocations: 8.031 kB / 281.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.01368, allocations: 292.1 kB / 281.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.0138, allocations: 188.5 kB / 281.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.01383, allocations: 54.38 kB / 281.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.0139, allocations: 68.38 kB / 281.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.01446, allocations: 0.5427 MB / 282.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.01447, allocations: 4.172 kB / 282.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.01452, allocations: 28.36 kB / 282.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01453, allocations: 19.94 kB / 282.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.01484, allocations: 244.9 kB / 282.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.01667, allocations: 1.739 MB / 284.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.01723, allocations: 0.5347 MB / 284.9 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.01737, allocations: 135.4 kB / 285 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-05/0.01743, allocations: 20.64 kB / 285 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.01746, allocations: 46.05 kB / 285.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.913e-06/0.01746, allocations: 0 / 285.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.00053/0.01799, allocations: 417.5 kB / 285.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.01804, allocations: 111.5 kB / 285.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.0182, allocations: 282.6 kB / 285.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.01823, allocations: 41.7 kB / 285.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01835, allocations: 319.3 kB / 286.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.01847, allocations: 234 kB / 286.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.0186, allocations: 136.2 kB / 286.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01873, allocations: 0.5234 MB / 287.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.01885, allocations: 77.94 kB / 287.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.01902, allocations: 233.6 kB / 287.4 MB, free: 7.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.01932, allocations: 306.8 kB / 287.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01932, allocations: 0 / 287.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004343/0.01976, allocations: 424.9 kB / 288.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01977, allocations: 8 kB / 288.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01978, allocations: 3.938 kB / 288.1 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01979, allocations: 8.172 kB / 288.2 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.02016, allocations: 155.8 kB / 288.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.02017, allocations: 4 kB / 288.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.02037, allocations: 67.55 kB / 288.4 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.0204, allocations: 16 kB / 288.4 MB, free: 6.191 MB / 266.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.0001319/0.02053, allocations: 192.4 kB / 288.6 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.0206, allocations: 55.77 kB / 288.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.02105, allocations: 409 kB / 289 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.02106, allocations: 7.984 kB / 289 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02106, allocations: 4 kB / 289 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.02106, allocations: 0 / 289 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009335/0.022, allocations: 0.874 MB / 289.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.022, allocations: 7.984 kB / 289.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.02229, allocations: 127.8 kB / 290.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.02229, allocations: 4 kB / 290.1 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.02231, allocations: 12 kB / 290.1 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.02232, allocations: 7.984 kB / 290.1 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.02232, allocations: 0 / 290.1 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.02294, allocations: 0.6975 MB / 290.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.02299, allocations: 51.56 kB / 290.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.02303, allocations: 15.94 kB / 290.8 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.0232, allocations: 24.03 kB / 290.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.02326, allocations: 40.56 kB / 290.9 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.02328, allocations: 16 kB / 290.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.268e-05/0.02337, allocations: 193.1 kB / 291.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02337, allocations: 0 / 291.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.02376, allocations: 175.6 kB / 291.3 MB, free: 3.238 MB / 266.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.000185/0.02395, allocations: 155.1 kB / 291.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.02429, allocations: 319 kB / 291.7 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02429, allocations: 3.938 kB / 291.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.02445, allocations: 172.6 kB / 291.9 MB, free: 2.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.02476, allocations: 60.59 kB / 292 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.02619, allocations: 0.9783 MB / 293 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.697e-05/0.02626, allocations: 128.8 kB / 293.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.02648, allocations: 75.34 kB / 293.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.02667, allocations: 150.2 kB / 293.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02667, allocations: 0 / 293.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of Templates: time 0.008364/0.03503, allocations: 5.554 MB / 298.9 MB, free: 11.68 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] 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","",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.7169234198518097]