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.002578/0.002578, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003143/0.003143, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 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.545/1.545, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.683e-06/1.683e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.535e-05, allocations: 4.281 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006762/0.006797, allocations: 4.125 MB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.01011, allocations: 1.67 MB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.01032, allocations: 8 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.01293, allocations: 1.069 MB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.01357, allocations: 246.1 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.0153, allocations: 0.7472 MB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009095/0.01621, allocations: 0.6258 MB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.01697, allocations: 439.3 kB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.0176, allocations: 387.1 kB / 281.6 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.01804, allocations: 255.3 kB / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.843e-05/0.01814, allocations: 60 kB / 281.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006413/0.01878, allocations: 283.5 kB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.01892, allocations: 131.5 kB / 282.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.0192, allocations: 207.4 kB / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.02055, allocations: 0.985 MB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02055, allocations: 0 / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02055, allocations: 0 / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.02056, allocations: 0 / 283.5 MB, free: 6.582 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.00382/0.02438, allocations: 1.299 MB / 284.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02442, allocations: 11.97 kB / 284.8 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.0258, allocations: 296 kB / 285.1 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.02604, allocations: 184.5 kB / 285.3 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.02609, allocations: 50.38 kB / 285.3 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.02621, allocations: 68.38 kB / 285.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.02759, allocations: 0.7453 MB / 286.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.02762, allocations: 4.188 kB / 286.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.02768, allocations: 32.31 kB / 286.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.0277, allocations: 19.94 kB / 286.2 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.02893, allocations: 0.5633 MB / 286.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.03297, allocations: 2.056 MB / 288.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.03437, allocations: 0.692 MB / 289.5 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.03485, allocations: 245.3 kB / 289.8 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.035, allocations: 32.62 kB / 289.8 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.03505, allocations: 50.02 kB / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.414e-06/0.03505, allocations: 0 / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.1078/0.1428, allocations: 0.6664 MB / 290.5 MB, free: 28.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1429, allocations: 114.4 kB / 290.6 MB, free: 27.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1431, allocations: 331.2 kB / 290.9 MB, free: 27.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1432, allocations: 39.02 kB / 291 MB, free: 27.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1433, allocations: 325 kB / 291.3 MB, free: 27.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.1434, allocations: 248.3 kB / 291.5 MB, free: 27.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.1436, allocations: 135.2 kB / 291.7 MB, free: 27.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.1437, allocations: 0.5329 MB / 292.2 MB, free: 26.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.1441, allocations: 196 kB / 292.4 MB, free: 26.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.1445, allocations: 351.2 kB / 292.7 MB, free: 26.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.1453, allocations: 0.5312 MB / 293.3 MB, free: 26.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1453, allocations: 0.9375 kB / 293.3 MB, free: 26.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00109/0.1464, allocations: 0.6305 MB / 293.9 MB, free: 26.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1464, allocations: 9.438 kB / 293.9 MB, free: 26.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1464, allocations: 3.469 kB / 293.9 MB, free: 26.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1464, allocations: 4.562 kB / 293.9 MB, free: 26.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.1471, allocations: 153.6 kB / 294.1 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1471, allocations: 7.141 kB / 294.1 MB, free: 26.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.1475, allocations: 67.78 kB / 294.1 MB, free: 26.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.1476, allocations: 25.47 kB / 294.2 MB, free: 26.24 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.0001921/0.1478, allocations: 236.4 kB / 294.4 MB, free: 26.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1479, allocations: 56.28 kB / 294.5 MB, free: 26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.149, allocations: 0.5691 MB / 295 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.149, allocations: 6.875 kB / 295 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.149, allocations: 4.172 kB / 295 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.149, allocations: 3.188 kB / 295 MB, free: 25.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.1508, allocations: 1.222 MB / 296.3 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1508, allocations: 2.016 kB / 296.3 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.1513, allocations: 122.4 kB / 296.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1513, allocations: 3.594 kB / 296.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1514, allocations: 14.11 kB / 296.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1514, allocations: 4.391 kB / 296.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1514, allocations: 1.406 kB / 296.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1527, allocations: 1.045 MB / 297.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1528, allocations: 44.33 kB / 297.5 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.1528, allocations: 16.28 kB / 297.5 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.1532, allocations: 22.44 kB / 297.5 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.1533, allocations: 46.25 kB / 297.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.1533, allocations: 18.38 kB / 297.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1535, allocations: 230.4 kB / 297.8 MB, free: 24.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1535, allocations: 1.156 kB / 297.8 MB, free: 24.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005393/0.154, allocations: 191.5 kB / 298 MB, free: 24.24 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.0002072/0.1542, allocations: 144.4 kB / 298.1 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.1551, allocations: 0.5243 MB / 298.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1551, allocations: 0 / 298.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.1556, allocations: 276 kB / 298.9 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.156, allocations: 50.12 kB / 299 MB, free: 23.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1577, allocations: 1.033 MB / 300 MB, free: 23.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1579, allocations: 246.9 kB / 300.3 MB, free: 23.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.1582, allocations: 71.97 kB / 300.3 MB, free: 23.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1584, allocations: 45.98 kB / 300.4 MB, free: 23.19 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1584, allocations: 5.312 kB / 300.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of Templates: time 0.009376/0.1678, allocations: 5.063 MB / 305.4 MB, free: 21.35 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] 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.703522406984121]