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.002469/0.002469, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002867/0.002867, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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.593/1.593, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 5.03e-06/5.03e-06, allocations: 4 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/3.262e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006738/0.00677, allocations: 4.272 MB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.009876, allocations: 1.674 MB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.01006, allocations: 12 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.01261, allocations: 1.077 MB / 279.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.01318, allocations: 273.9 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.01476, allocations: 0.7316 MB / 280.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007385/0.0155, allocations: 0.6607 MB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007509/0.01625, allocations: 465.3 kB / 281.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.01682, allocations: 407 kB / 281.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.01722, allocations: 271.2 kB / 282 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.391e-05/0.01732, allocations: 59.94 kB / 282.1 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005045/0.01782, allocations: 283.6 kB / 282.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.01796, allocations: 143.4 kB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.01843, allocations: 219.4 kB / 282.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.01967, allocations: 1.016 MB / 283.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01967, allocations: 0 / 283.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01967, allocations: 0 / 283.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.01968, allocations: 3.938 kB / 283.7 MB, free: 6.215 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.003732/0.02341, allocations: 1.346 MB / 285.1 MB, free: 4.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.02345, allocations: 11.98 kB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.02497, allocations: 332 kB / 285.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.02519, allocations: 191.7 kB / 285.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.02525, allocations: 58.38 kB / 285.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.02537, allocations: 72.38 kB / 285.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.02683, allocations: 0.8194 MB / 286.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.02685, allocations: 192 / 286.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.02692, allocations: 32.38 kB / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.02694, allocations: 23.94 kB / 286.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.02824, allocations: 0.6181 MB / 287.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004664/0.03291, allocations: 2.512 MB / 289.7 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09726/0.1302, allocations: 0.8286 MB / 290.5 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.1307, allocations: 295.9 kB / 290.8 MB, free: 27.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.1308, allocations: 35.09 kB / 290.9 MB, free: 27.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1309, allocations: 46.48 kB / 290.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.056e-06/0.1309, allocations: 0.5 kB / 290.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002372/0.1332, allocations: 0.9697 MB / 291.9 MB, free: 27.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1333, allocations: 114.1 kB / 292 MB, free: 27.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1336, allocations: 351.7 kB / 292.3 MB, free: 27.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1336, allocations: 40.17 kB / 292.4 MB, free: 27.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.1338, allocations: 363 kB / 292.7 MB, free: 27.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.1339, allocations: 272.7 kB / 293 MB, free: 26.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.1341, allocations: 160.7 kB / 293.2 MB, free: 26.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1342, allocations: 0.5395 MB / 293.7 MB, free: 26.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.1347, allocations: 211.5 kB / 293.9 MB, free: 26.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.1352, allocations: 466.2 kB / 294.4 MB, free: 25.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009211/0.1361, allocations: 0.69 MB / 295.1 MB, free: 25.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1361, allocations: 2.031 kB / 295.1 MB, free: 25.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001441/0.1375, allocations: 0.8512 MB / 295.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1375, allocations: 6.156 kB / 295.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1376, allocations: 5.641 kB / 295.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.1384, allocations: 184.8 kB / 296.1 MB, free: 25.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.139, allocations: 158.5 kB / 296.3 MB, free: 25.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.1416, allocations: 4.775 MB / 301 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.1421, allocations: 80.72 kB / 301.1 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.1421, allocations: 30.94 kB / 301.1 MB, free: 20.59 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.0002465/0.1424, allocations: 246.7 kB / 301.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.1425, allocations: 69.16 kB / 301.4 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.1439, allocations: 0.7125 MB / 302.2 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1439, allocations: 13.66 kB / 302.2 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.144, allocations: 3.531 kB / 302.2 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.144, allocations: 3.75 kB / 302.2 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.1462, allocations: 1.418 MB / 303.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1462, allocations: 5.188 kB / 303.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.1467, allocations: 108 kB / 303.7 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/0.1473, allocations: 169 kB / 303.9 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.1474, allocations: 19.8 kB / 303.9 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.1494, allocations: 4.145 MB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1494, allocations: 1.062 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.151, allocations: 1.204 MB / 309.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.1511, allocations: 47.05 kB / 309.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.1511, allocations: 16.66 kB / 309.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.1515, allocations: 19.88 kB / 309.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.1516, allocations: 60.33 kB / 309.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.1516, allocations: 23.66 kB / 309.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1518, allocations: 228.5 kB / 309.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1518, allocations: 3.828 kB / 309.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007525/0.1525, allocations: 220.8 kB / 309.8 MB, free: 14.41 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.0002069/0.1528, allocations: 154.6 kB / 310 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.154, allocations: 0.9925 MB / 311 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.154, allocations: 0 / 311 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.1546, allocations: 0.6845 MB / 311.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.155, allocations: 45.06 kB / 311.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1567, allocations: 1.074 MB / 312.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.1569, allocations: 268.2 kB / 313.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.1572, allocations: 81.45 kB / 313.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.1573, allocations: 43.55 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1573, allocations: 0 / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.01051/0.1678, allocations: 6.24 MB / 319.4 MB, free: 6.441 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852810019045137]