Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009984/0.0009984, allocations: 140.2 kB / 24.88 MB, free: 9.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9447/0.9447, allocations: 173.3 MB / 201.5 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.128e-05, allocations: 2.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003797/0.003818, allocations: 4.246 MB / 272.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.006066, allocations: 1.665 MB / 274.4 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.006246, allocations: 12 kB / 274.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.007814, allocations: 1.073 MB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.008243, allocations: 265.9 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.009158, allocations: 0.7587 MB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004837/0.009641, allocations: 0.6607 MB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.01017, allocations: 0.4954 MB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.01054, allocations: 407 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.01083, allocations: 287.2 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.01088, allocations: 56 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.01129, allocations: 263.6 kB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.01136, allocations: 151.3 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.01149, allocations: 223.4 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.01211, allocations: 0.689 MB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01211, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01211, allocations: 0 / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.01212, allocations: 4 kB / 279.7 MB, free: 10.88 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.001893/0.01401, allocations: 1.21 MB / 280.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.01404, allocations: 16.86 kB / 281 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009499/0.01499, allocations: 372.1 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.01514, allocations: 177 kB / 281.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.01519, allocations: 54.38 kB / 281.6 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.01528, allocations: 80.31 kB / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.01585, allocations: 0.5773 MB / 282.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.01587, allocations: 192 / 282.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.0159, allocations: 32.38 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.01591, allocations: 23.94 kB / 282.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.01621, allocations: 225 kB / 282.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.01842, allocations: 1.774 MB / 284.3 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.01916, allocations: 0.6155 MB / 284.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.01934, allocations: 152.4 kB / 285 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.665e-05/0.0194, allocations: 28.64 kB / 285 MB, free: 5.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.01943, allocations: 39.22 kB / 285.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.574e-06/0.01943, allocations: 4 kB / 285.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008466/0.02028, allocations: 0.55 MB / 285.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.02032, allocations: 115.5 kB / 285.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.02046, allocations: 240.8 kB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.02049, allocations: 41.7 kB / 286 MB, free: 4.336 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.02059, allocations: 292.3 kB / 286.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.02071, allocations: 265.7 kB / 286.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.02083, allocations: 134.5 kB / 286.7 MB, free: 3.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.02092, allocations: 354.7 kB / 287.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.02101, allocations: 81.91 kB / 287.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.02119, allocations: 260 kB / 287.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.02149, allocations: 372.8 kB / 287.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.02149, allocations: 4 kB / 287.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004692/0.02196, allocations: 468.5 kB / 288.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.02198, allocations: 4 kB / 288.2 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.02199, allocations: 4.5 kB / 288.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.02234, allocations: 157.4 kB / 288.4 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.02266, allocations: 155.8 kB / 288.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1099/0.1326, allocations: 3.018 MB / 291.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.133, allocations: 84.36 kB / 291.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.133, allocations: 22.38 kB / 291.6 MB, free: 22.86 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.0001682/0.1332, allocations: 155.2 kB / 291.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.1333, allocations: 51.89 kB / 291.9 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005563/0.1339, allocations: 425.2 kB / 292.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1339, allocations: 7.469 kB / 292.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1339, allocations: 2.531 kB / 292.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1339, allocations: 5.062 kB / 292.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.1349, allocations: 0.7631 MB / 293 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1349, allocations: 0 / 293 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.1352, allocations: 115.6 kB / 293.2 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.1355, allocations: 135.4 kB / 293.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.1355, allocations: 16.2 kB / 293.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.1368, allocations: 2.643 MB / 295.9 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1368, allocations: 4.875 kB / 296 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.1374, allocations: 0.6097 MB / 296.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.1374, allocations: 44.5 kB / 296.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1375, allocations: 13.42 kB / 296.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1376, allocations: 21.83 kB / 296.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1377, allocations: 56.08 kB / 296.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1378, allocations: 17.2 kB / 296.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.671e-05/0.1378, allocations: 87.23 kB / 296.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1378, allocations: 0 / 296.8 MB, free: 19.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.1384, allocations: 221.5 kB / 297 MB, free: 19.89 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.0002072/0.1386, allocations: 132.5 kB / 297.1 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.1393, allocations: 0.6124 MB / 297.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.1393, allocations: 4.188 kB / 297.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.1396, allocations: 440.8 kB / 298.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1399, allocations: 51.27 kB / 298.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1413, allocations: 0.9982 MB / 299.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1414, allocations: 136.1 kB / 299.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.1417, allocations: 78.86 kB / 299.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.1418, allocations: 114.1 kB / 299.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1418, allocations: 0 / 299.6 MB, free: 18.72 MB / 266.7 MB Notification: Performance of Templates: time 0.009654/0.1515, allocations: 6.624 MB / 306.2 MB, free: 17.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8121538180857897]