Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.000941/0.000941, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.0008761/0.0008761, allocations: 166.3 kB / 25.61 MB, free: 8.441 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 0.8659/0.8659, allocations: 177 MB / 205.9 MB, free: 4.449 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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.818e-05, allocations: 3.062 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004897/0.004915, allocations: 4.215 MB / 278.3 MB, free: 44 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.007349, allocations: 1.67 MB / 280 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.007594, allocations: 12 kB / 280 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.009127, allocations: 1.05 MB / 281.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.009664, allocations: 265.9 kB / 281.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.01079, allocations: 0.7199 MB / 282 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.01133, allocations: 0.6607 MB / 282.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.01192, allocations: 461.3 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000672/0.0126, allocations: 403.1 kB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.01292, allocations: 295.2 kB / 283.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.01299, allocations: 56 kB / 283.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.01345, allocations: 275.5 kB / 284.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.071e-05/0.01354, allocations: 147.4 kB / 284.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.01372, allocations: 219.4 kB / 284.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.01448, allocations: 0.7084 MB / 285.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01449, allocations: 0 / 285.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01449, allocations: 0 / 285.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.01449, allocations: 3.938 kB / 285.2 MB, free: 9.117 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00262/0.01711, allocations: 1.319 MB / 286.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01715, allocations: 12.03 kB / 286.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.01837, allocations: 335.9 kB / 286.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.01852, allocations: 190.6 kB / 287.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.01857, allocations: 54.38 kB / 287.1 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.01867, allocations: 76.38 kB / 287.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.01942, allocations: 0.5856 MB / 287.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.01944, allocations: 12.17 kB / 287.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.0195, allocations: 24.38 kB / 287.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.01951, allocations: 23.94 kB / 287.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.01996, allocations: 272.9 kB / 288.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.02237, allocations: 2.237 MB / 290.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.02317, allocations: 0.6798 MB / 291 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.02337, allocations: 179 kB / 291.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.02344, allocations: 32.64 kB / 291.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.02347, allocations: 50.03 kB / 291.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/0.02347, allocations: 0 / 291.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009893/0.02446, allocations: 0.6649 MB / 292 MB, free: 2.164 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.0245, allocations: 115.5 kB / 292.1 MB, free: 2.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.02466, allocations: 308 kB / 292.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.02469, allocations: 33.7 kB / 292.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.02482, allocations: 359 kB / 292.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.02494, allocations: 257.8 kB / 293 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.02507, allocations: 148.2 kB / 293.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.02519, allocations: 0.5273 MB / 293.7 MB, free: 372 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.02532, allocations: 93.91 kB / 293.8 MB, free: 276 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.02555, allocations: 334.8 kB / 294.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.02591, allocations: 445 kB / 294.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02591, allocations: 0 / 294.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006174/0.02653, allocations: 0.5902 MB / 295.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.02655, allocations: 4 kB / 295.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02655, allocations: 11.88 kB / 295.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/0.02693, allocations: 163.3 kB / 295.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.02726, allocations: 147.8 kB / 295.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.02938, allocations: 4.378 MB / 299.8 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.02961, allocations: 71.47 kB / 299.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.02964, allocations: 31.98 kB / 299.9 MB, free: 9.719 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.02979, allocations: 204.6 kB / 300.1 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.02987, allocations: 63.7 kB / 300.2 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.03046, allocations: 0.5009 MB / 300.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.03046, allocations: 11.94 kB / 300.7 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.03046, allocations: 4 kB / 300.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.03047, allocations: 7.984 kB / 300.7 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.03153, allocations: 1.029 MB / 301.7 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.03153, allocations: 0 / 301.7 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.03177, allocations: 107.9 kB / 301.8 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.0321, allocations: 155.5 kB / 302 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.03212, allocations: 15.98 kB / 302 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.03386, allocations: 3.803 MB / 305.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.03386, allocations: 0 / 305.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.03454, allocations: 0.8145 MB / 306.6 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.03458, allocations: 51.5 kB / 306.7 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.03462, allocations: 19.95 kB / 306.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.03479, allocations: 20 kB / 306.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.03488, allocations: 52.55 kB / 306.8 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.0349, allocations: 19.98 kB / 306.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.03499, allocations: 193.1 kB / 307 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03499, allocations: 0 / 307 MB, free: 2.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.03553, allocations: 223.6 kB / 307.2 MB, free: 2.109 MB / 282.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.03571, allocations: 151.1 kB / 307.3 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006478/0.03636, allocations: 0.7587 MB / 308.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.03636, allocations: 0 / 308.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.03669, allocations: 0.5665 MB / 308.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.037, allocations: 46.89 kB / 308.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.03833, allocations: 0.9954 MB / 309.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.03842, allocations: 140.7 kB / 309.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.03861, allocations: 76.33 kB / 309.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.03878, allocations: 142.2 kB / 310.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03878, allocations: 0 / 310.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of Templates: time 0.009332/0.04811, allocations: 6.993 MB / 317 MB, free: 8.195 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.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.8184434389695525]