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.0009146/0.0009146, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001074/0.001074, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 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 0.9331/0.9331, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.233e-05, allocations: 2.312 kB / 273.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00345/0.003463, allocations: 4.08 MB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.00524, allocations: 1.728 MB / 279.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.00536, allocations: 12 kB / 279.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.006473, allocations: 1.077 MB / 280.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.006775, allocations: 254 kB / 280.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.007569, allocations: 0.7431 MB / 281.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.007938, allocations: 0.6336 MB / 282 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.008351, allocations: 461.4 kB / 282.4 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.008657, allocations: 387.1 kB / 282.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.008885, allocations: 263.3 kB / 283.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.008935, allocations: 56 kB / 283.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.009223, allocations: 283.5 kB / 283.4 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.009294, allocations: 143.4 kB / 283.5 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.00942, allocations: 207.5 kB / 283.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.009943, allocations: 0.6851 MB / 284.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.009945, allocations: 0 / 284.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.009946, allocations: 0 / 284.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.00995, allocations: 0 / 284.4 MB, free: 6.297 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.001681/0.01163, allocations: 1.186 MB / 285.6 MB, free: 5.082 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.01166, allocations: 8.031 kB / 285.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007023/0.01236, allocations: 304.3 kB / 285.9 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.01247, allocations: 181.6 kB / 286.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.0125, allocations: 50.38 kB / 286.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.01257, allocations: 72.33 kB / 286.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.01315, allocations: 0.5305 MB / 286.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01316, allocations: 192 / 286.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.0132, allocations: 28.38 kB / 286.8 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.01321, allocations: 19.94 kB / 286.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.01345, allocations: 205.8 kB / 287 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.01493, allocations: 1.367 MB / 288.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.0154, allocations: 486.5 kB / 288.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.0155, allocations: 111.7 kB / 288.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/0.01559, allocations: 32.62 kB / 289 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.01562, allocations: 47.2 kB / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.863e-06/0.01562, allocations: 0 / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0003768/0.01599, allocations: 317.8 kB / 289.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.01604, allocations: 115.5 kB / 289.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01616, allocations: 219.3 kB / 289.7 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.01618, allocations: 37.7 kB / 289.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.01627, allocations: 260.6 kB / 289.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.01637, allocations: 237.9 kB / 290.2 MB, free: 320 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.01648, allocations: 118.6 kB / 290.3 MB, free: 196 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.09711/0.1136, allocations: 347.6 kB / 290.6 MB, free: 20.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1138, allocations: 66.86 kB / 290.7 MB, free: 20.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1139, allocations: 189.7 kB / 290.9 MB, free: 20.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.1142, allocations: 274.3 kB / 291.1 MB, free: 20.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1142, allocations: 1.469 kB / 291.2 MB, free: 20.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0003934/0.1146, allocations: 318 kB / 291.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1146, allocations: 8.406 kB / 291.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1146, allocations: 2.281 kB / 291.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1147, allocations: 5.156 kB / 291.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.1151, allocations: 151.8 kB / 291.6 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1151, allocations: 7.547 kB / 291.6 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1153, allocations: 64.66 kB / 291.7 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1154, allocations: 20.23 kB / 291.7 MB, free: 20.59 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.000136/0.1155, allocations: 143 kB / 291.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.1156, allocations: 44.7 kB / 291.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.116, allocations: 319.3 kB / 292.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.116, allocations: 9.312 kB / 292.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.116, allocations: 3.938 kB / 292.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.116, allocations: 4.297 kB / 292.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.1168, allocations: 0.6295 MB / 292.9 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1168, allocations: 0 / 292.9 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.117, allocations: 129 kB / 293 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.117, allocations: 2.219 kB / 293 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1171, allocations: 13 kB / 293 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1171, allocations: 2.281 kB / 293 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1171, allocations: 5.5 kB / 293 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.1175, allocations: 0.5226 MB / 293.5 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1175, allocations: 46.81 kB / 293.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1176, allocations: 11.59 kB / 293.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1177, allocations: 19.33 kB / 293.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.1178, allocations: 44.02 kB / 293.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1178, allocations: 15.62 kB / 293.7 MB, free: 20 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.1179, allocations: 73.25 kB / 293.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1179, allocations: 0 / 293.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.1182, allocations: 191.7 kB / 293.9 MB, free: 19.98 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.000173/0.1184, allocations: 136 kB / 294.1 MB, free: 19.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.1187, allocations: 287.4 kB / 294.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.1187, allocations: 2.188 kB / 294.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1189, allocations: 149.9 kB / 294.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.1191, allocations: 54.81 kB / 294.5 MB, free: 19.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1203, allocations: 0.9371 MB / 295.5 MB, free: 19.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.1204, allocations: 122.5 kB / 295.6 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.1206, allocations: 71.64 kB / 295.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.1207, allocations: 137.5 kB / 295.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1207, allocations: 0 / 295.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of Templates: time 0.008373/0.1291, allocations: 5.508 MB / 301.3 MB, free: 18.48 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: 2.710186895914376]