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.0009355/0.0009355, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.0009534/0.0009534, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.9272/0.9272, allocations: 177 MB / 205.1 MB, free: 5.48 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.764e-06/1.764e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.585e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005047/0.005063, allocations: 4.214 MB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.007724, allocations: 1.666 MB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.007993, allocations: 12 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.009635, allocations: 1.05 MB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.01021, allocations: 273.9 kB / 280.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.01139, allocations: 0.7277 MB / 281.3 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.01197, allocations: 0.6568 MB / 281.9 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006115/0.01258, allocations: 457.4 kB / 282.4 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.01305, allocations: 407 kB / 282.8 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.01329, allocations: 279.2 kB / 283 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.01335, allocations: 56 kB / 283.1 MB, free: 7.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.01368, allocations: 279.5 kB / 283.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.01375, allocations: 143.4 kB / 283.5 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.01389, allocations: 223.4 kB / 283.7 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.0145, allocations: 0.7162 MB / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.0145, allocations: 0 / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01451, allocations: 0 / 284.4 MB, free: 6.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.01451, allocations: 0 / 284.4 MB, free: 6.051 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.001934/0.01645, allocations: 1.319 MB / 285.8 MB, free: 4.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.01648, allocations: 11.98 kB / 285.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008032/0.01728, allocations: 347.9 kB / 286.1 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.0174, allocations: 185.4 kB / 286.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.01743, allocations: 54.38 kB / 286.3 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.01751, allocations: 72.38 kB / 286.4 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.01806, allocations: 0.5817 MB / 287 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.01808, allocations: 4.172 kB / 287 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.01824, allocations: 32.38 kB / 287 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.01825, allocations: 19.94 kB / 287.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.01857, allocations: 280.8 kB / 287.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.02074, allocations: 2.237 MB / 289.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.0216, allocations: 0.6918 MB / 290.3 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1014/0.123, allocations: 167.3 kB / 290.4 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.1231, allocations: 41.34 kB / 290.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1232, allocations: 42.3 kB / 290.5 MB, free: 20.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.1232, allocations: 1.062 kB / 290.5 MB, free: 20.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001135/0.1243, allocations: 0.6657 MB / 291.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1243, allocations: 111.6 kB / 291.3 MB, free: 20.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1245, allocations: 302.9 kB / 291.6 MB, free: 20.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1245, allocations: 36.61 kB / 291.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1247, allocations: 362.6 kB / 292 MB, free: 19.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1248, allocations: 254.8 kB / 292.2 MB, free: 19.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1249, allocations: 155.4 kB / 292.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.125, allocations: 0.5273 MB / 292.9 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1251, allocations: 90.17 kB / 293 MB, free: 19.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1253, allocations: 336 kB / 293.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.1256, allocations: 442.2 kB / 293.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1257, allocations: 1.062 kB / 293.7 MB, free: 18.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006394/0.1263, allocations: 0.5883 MB / 294.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1263, allocations: 6.625 kB / 294.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1263, allocations: 5.203 kB / 294.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.1267, allocations: 168 kB / 294.5 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1271, allocations: 147.7 kB / 294.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1285, allocations: 4.378 MB / 299 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.1288, allocations: 85.19 kB / 299.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.1288, allocations: 27.67 kB / 299.1 MB, free: 14.78 MB / 266.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.0001247/0.1289, allocations: 201.4 kB / 299.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.129, allocations: 65.23 kB / 299.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.1296, allocations: 0.4971 MB / 299.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1296, allocations: 10.94 kB / 299.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1296, allocations: 4.109 kB / 299.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1296, allocations: 7.359 kB / 299.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1306, allocations: 1.038 MB / 301 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1306, allocations: 0 / 301 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.1309, allocations: 106.6 kB / 301.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/0.1312, allocations: 150.2 kB / 301.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1312, allocations: 18.25 kB / 301.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.1323, allocations: 3.8 MB / 305 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1323, allocations: 0.9375 kB / 305 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.133, allocations: 0.8148 MB / 305.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.133, allocations: 55.45 kB / 305.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.133, allocations: 12.03 kB / 305.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.1332, allocations: 25.61 kB / 305.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.1333, allocations: 57.67 kB / 306 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1333, allocations: 18.03 kB / 306 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.1334, allocations: 197.6 kB / 306.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1334, allocations: 0 / 306.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000574/0.134, allocations: 223.2 kB / 306.4 MB, free: 10.17 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 (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.0001789/0.1342, allocations: 157.7 kB / 306.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.1348, allocations: 0.7547 MB / 307.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1348, allocations: 1.25 kB / 307.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.1351, allocations: 0.5706 MB / 307.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1354, allocations: 42.52 kB / 307.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1367, allocations: 0.9867 MB / 308.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.1368, allocations: 136.4 kB / 309.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.1369, allocations: 74.22 kB / 309.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.1371, allocations: 137.9 kB / 309.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1371, allocations: 4 kB / 309.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of Templates: time 0.008477/0.1456, allocations: 6.849 MB / 316.1 MB, free: 6.348 MB / 266.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.8416836578398943]