Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.329e-05, allocations: 5.266 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004236/0.004259, allocations: 4.125 MB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.007027, allocations: 1.735 MB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.00729, allocations: 8 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.008679, allocations: 1.061 MB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.009269, allocations: 246 kB / 280.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01036, allocations: 0.7353 MB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.01093, allocations: 0.6297 MB / 282 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.01153, allocations: 469.3 kB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.01199, allocations: 387.1 kB / 282.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.01233, allocations: 259.3 kB / 283.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.01239, allocations: 60 kB / 283.1 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.0132, allocations: 303.4 kB / 283.4 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.01327, allocations: 123.5 kB / 283.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.0134, allocations: 215.4 kB / 283.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.01413, allocations: 0.689 MB / 284.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.01413, allocations: 0 / 284.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01414, allocations: 0 / 284.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.01415, allocations: 0 / 284.4 MB, free: 5.973 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.00202/0.01617, allocations: 1.179 MB / 285.6 MB, free: 4.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.0162, allocations: 11.98 kB / 285.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.01707, allocations: 316.2 kB / 285.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.01721, allocations: 177.7 kB / 286.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.01725, allocations: 46.38 kB / 286.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.01732, allocations: 68.33 kB / 286.2 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.01784, allocations: 0.5382 MB / 286.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.01786, allocations: 192 / 286.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.01789, allocations: 32.38 kB / 286.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.0179, allocations: 19.94 kB / 286.8 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.01816, allocations: 197 kB / 287 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.0198, allocations: 1.371 MB / 288.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.0203, allocations: 481.9 kB / 288.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.02041, allocations: 119.6 kB / 289 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.02052, allocations: 32.58 kB / 289 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.02055, allocations: 43.22 kB / 289 MB, free: 1.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.02055, allocations: 0 / 289 MB, free: 1.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003994/0.02095, allocations: 317.8 kB / 289.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.02099, allocations: 115.5 kB / 289.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.02113, allocations: 223.2 kB / 289.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.02115, allocations: 37.7 kB / 289.7 MB, free: 492 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.02125, allocations: 268.6 kB / 290 MB, free: 220 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1057/0.127, allocations: 226.4 kB / 290.2 MB, free: 20.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1272, allocations: 117.1 kB / 290.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.1272, allocations: 349.2 kB / 290.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1274, allocations: 65.92 kB / 290.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.1275, allocations: 189.8 kB / 290.9 MB, free: 20.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.1278, allocations: 279 kB / 291.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1278, allocations: 0 / 291.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003989/0.1282, allocations: 318.4 kB / 291.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1282, allocations: 8.203 kB / 291.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1283, allocations: 1.562 kB / 291.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1283, allocations: 5.156 kB / 291.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.1287, allocations: 162 kB / 291.6 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.1287, allocations: 13.12 kB / 291.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.129, allocations: 62.73 kB / 291.7 MB, free: 20.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.129, allocations: 18.25 kB / 291.7 MB, free: 20.22 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.0001457/0.1291, allocations: 143.9 kB / 291.9 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.1292, allocations: 44.88 kB / 291.9 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.1297, allocations: 323.7 kB / 292.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1297, allocations: 8.25 kB / 292.2 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1297, allocations: 5.031 kB / 292.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1297, allocations: 6.109 kB / 292.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.1306, allocations: 0.6311 MB / 292.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1306, allocations: 0.7969 kB / 292.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.1309, allocations: 132.1 kB / 293 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.131, allocations: 3.562 kB / 293 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.131, allocations: 20.3 kB / 293 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.131, allocations: 7.547 kB / 293.1 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.131, allocations: 0.6094 kB / 293.1 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.1315, allocations: 0.5179 MB / 293.6 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1316, allocations: 49.58 kB / 293.6 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1316, allocations: 13.55 kB / 293.6 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.1318, allocations: 22.41 kB / 293.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.1319, allocations: 39.25 kB / 293.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1319, allocations: 14.73 kB / 293.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.132, allocations: 73.34 kB / 293.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.132, allocations: 1.062 kB / 293.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.1324, allocations: 180.4 kB / 294 MB, free: 19.6 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.0001994/0.1326, allocations: 139 kB / 294.1 MB, free: 19.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.133, allocations: 280.7 kB / 294.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.133, allocations: 8.469 kB / 294.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1331, allocations: 153.3 kB / 294.5 MB, free: 19.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1334, allocations: 55.55 kB / 294.6 MB, free: 19.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1349, allocations: 0.9362 MB / 295.5 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.1349, allocations: 122.5 kB / 295.6 MB, free: 19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.1352, allocations: 75 kB / 295.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.1354, allocations: 128.7 kB / 295.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1354, allocations: 0 / 295.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of Templates: time 0.009206/0.1446, allocations: 5.491 MB / 301.3 MB, free: 18.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.8500460726208985]