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.001335/0.001335, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001476/0.001476, allocations: 161 kB / 24.56 MB, free: 16 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.082/1.082, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.984e-06/1.984e-06, allocations: 0 / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.822e-05, allocations: 2.312 kB / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006126/0.006154, allocations: 4.185 MB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.008561, allocations: 1.677 MB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.008718, allocations: 12 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.00999, allocations: 1.069 MB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.01035, allocations: 250 kB / 280.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.01123, allocations: 0.7511 MB / 280.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.01165, allocations: 0.6258 MB / 281.5 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.01213, allocations: 431.4 kB / 282 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.0125, allocations: 391.1 kB / 282.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.01274, allocations: 263.2 kB / 282.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.0128, allocations: 60 kB / 282.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.01313, allocations: 275.5 kB / 282.9 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.0132, allocations: 131.5 kB / 283.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.01334, allocations: 215.4 kB / 283.3 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.01395, allocations: 0.6889 MB / 284 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01395, allocations: 0 / 284 MB, free: 6.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01395, allocations: 0 / 284 MB, free: 6.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.01396, allocations: 0 / 284 MB, free: 6.539 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.001946/0.01591, allocations: 1.261 MB / 285.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.01594, allocations: 8.031 kB / 285.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007514/0.01669, allocations: 303.9 kB / 285.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.01682, allocations: 188.5 kB / 285.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.01686, allocations: 50.38 kB / 285.8 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.01694, allocations: 64.38 kB / 285.8 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.01762, allocations: 0.5897 MB / 286.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.01764, allocations: 8.172 kB / 286.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.01768, allocations: 24.38 kB / 286.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.0177, allocations: 19.94 kB / 286.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.01817, allocations: 316.4 kB / 286.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.0201, allocations: 1.817 MB / 288.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.0208, allocations: 0.5554 MB / 289.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.021, allocations: 161.4 kB / 289.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.02111, allocations: 36.62 kB / 289.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/0.02117, allocations: 45.98 kB / 289.4 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.813e-06/0.02117, allocations: 0 / 289.4 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006711/0.02184, allocations: 477.6 kB / 289.8 MB, free: 456 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.02189, allocations: 111.5 kB / 289.9 MB, free: 320 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.02218, allocations: 290.5 kB / 290.2 MB, free: 8 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1096/0.1318, allocations: 36.05 kB / 290.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1319, allocations: 315 kB / 290.6 MB, free: 20.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.1321, allocations: 238.4 kB / 290.8 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.1323, allocations: 130.8 kB / 290.9 MB, free: 20.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.1323, allocations: 0.5172 MB / 291.5 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.1325, allocations: 109.3 kB / 291.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1328, allocations: 253.4 kB / 291.8 MB, free: 19.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1332, allocations: 354.8 kB / 292.2 MB, free: 19.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1332, allocations: 0 / 292.2 MB, free: 19.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006616/0.1339, allocations: 474.2 kB / 292.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1339, allocations: 7.641 kB / 292.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1339, allocations: 3.969 kB / 292.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.134, allocations: 3.969 kB / 292.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.1344, allocations: 158.2 kB / 292.8 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1344, allocations: 9.062 kB / 292.8 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1347, allocations: 63.91 kB / 292.9 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1347, allocations: 26.41 kB / 292.9 MB, free: 19.65 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.000125/0.1348, allocations: 194.8 kB / 293.1 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.1349, allocations: 55.73 kB / 293.1 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.1355, allocations: 442.8 kB / 293.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1355, allocations: 13.06 kB / 293.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1355, allocations: 1.547 kB / 293.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1356, allocations: 6.141 kB / 293.6 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1367, allocations: 0.9764 MB / 294.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1367, allocations: 0 / 294.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.137, allocations: 122.4 kB / 294.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.137, allocations: 4.688 kB / 294.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1371, allocations: 17.86 kB / 294.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1371, allocations: 3.156 kB / 294.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1371, allocations: 2.594 kB / 294.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.1378, allocations: 0.7651 MB / 295.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.1379, allocations: 46.34 kB / 295.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1379, allocations: 16.91 kB / 295.5 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1381, allocations: 19.58 kB / 295.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.1382, allocations: 42.44 kB / 295.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1382, allocations: 19.2 kB / 295.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1383, allocations: 203.2 kB / 295.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1383, allocations: 0 / 295.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004458/0.1388, allocations: 183.6 kB / 296 MB, free: 18.58 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.0002008/0.139, allocations: 157 kB / 296.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.1395, allocations: 362 kB / 296.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1395, allocations: 0 / 296.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.1397, allocations: 193.6 kB / 296.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1401, allocations: 56.64 kB / 296.7 MB, free: 18.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.1416, allocations: 0.9641 MB / 297.7 MB, free: 18.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.55e-05/0.1416, allocations: 124.1 kB / 297.8 MB, free: 17.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.1419, allocations: 70.56 kB / 297.9 MB, free: 17.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.142, allocations: 49.5 kB / 297.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.142, allocations: 0 / 297.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of Templates: time 0.008066/0.15, allocations: 5.076 MB / 303 MB, free: 17.22 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1159182600677013]