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.0009854/0.0009854, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001098/0.001098, allocations: 160.5 kB / 24.55 MB, free: 16 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.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.582 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 9.92e-07/9.92e-07, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.127e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004078/0.004099, allocations: 4.327 MB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.006495, allocations: 1.674 MB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.006788, allocations: 12 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.008069, allocations: 1.085 MB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.008611, allocations: 270 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.01001, allocations: 0.7394 MB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.01058, allocations: 0.6607 MB / 281.7 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.01116, allocations: 457.4 kB / 282.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.01161, allocations: 414.9 kB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.01194, allocations: 275.3 kB / 282.8 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.01201, allocations: 56 kB / 282.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.01266, allocations: 279.5 kB / 283.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.01275, allocations: 143.4 kB / 283.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.01294, allocations: 215.4 kB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008734/0.01381, allocations: 0.724 MB / 284.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01381, allocations: 0 / 284.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01382, allocations: 0 / 284.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.01383, allocations: 0 / 284.2 MB, free: 6.105 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.00221/0.01604, allocations: 1.307 MB / 285.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.01608, allocations: 11.98 kB / 285.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/0.01696, allocations: 343.9 kB / 285.9 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.01711, allocations: 187.8 kB / 286 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.01715, allocations: 54.38 kB / 286.1 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.692e-05/0.01725, allocations: 72.38 kB / 286.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.01803, allocations: 0.6326 MB / 286.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.01805, allocations: 4.188 kB / 286.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.0181, allocations: 28.38 kB / 286.8 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.01812, allocations: 27.92 kB / 286.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.01871, allocations: 363.5 kB / 287.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.02154, allocations: 2.229 MB / 289.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1235/0.1451, allocations: 0.7169 MB / 290.2 MB, free: 19.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.1455, allocations: 203 kB / 290.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.1456, allocations: 32.62 kB / 290.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1457, allocations: 45.44 kB / 290.4 MB, free: 19.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/0.1457, allocations: 0 / 290.4 MB, free: 19.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001676/0.1474, allocations: 0.7245 MB / 291.2 MB, free: 19.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1474, allocations: 114.6 kB / 291.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1476, allocations: 314.8 kB / 291.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1477, allocations: 34.45 kB / 291.6 MB, free: 19.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1478, allocations: 354.9 kB / 292 MB, free: 19.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.148, allocations: 257.8 kB / 292.2 MB, free: 19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.1482, allocations: 150.5 kB / 292.4 MB, free: 18.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.1482, allocations: 0.5217 MB / 292.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.1485, allocations: 120 kB / 293 MB, free: 18.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.1489, allocations: 357.7 kB / 293.3 MB, free: 18.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.1495, allocations: 490.2 kB / 293.8 MB, free: 18.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.1495, allocations: 1.125 kB / 293.8 MB, free: 18.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001087/0.1506, allocations: 0.6536 MB / 294.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1507, allocations: 6.656 kB / 294.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1507, allocations: 4.516 kB / 294.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.1513, allocations: 174.4 kB / 294.7 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.1517, allocations: 158.4 kB / 294.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.1538, allocations: 4.449 MB / 299.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1541, allocations: 84.66 kB / 299.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.1541, allocations: 31.98 kB / 299.4 MB, free: 13.93 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.0001506/0.1543, allocations: 202.4 kB / 299.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1544, allocations: 60.8 kB / 299.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009611/0.1554, allocations: 0.5518 MB / 300.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.1554, allocations: 8.125 kB / 300.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1554, allocations: 2.594 kB / 300.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1554, allocations: 11.09 kB / 300.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.1571, allocations: 1.147 MB / 301.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1571, allocations: 2.125 kB / 301.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.1574, allocations: 103.7 kB / 301.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004814/0.1579, allocations: 160.6 kB / 301.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.158, allocations: 14.69 kB / 301.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.1597, allocations: 3.873 MB / 305.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1597, allocations: 1.578 kB / 305.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1608, allocations: 0.8837 MB / 306.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.1609, allocations: 54.92 kB / 306.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.1609, allocations: 13.78 kB / 306.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.1612, allocations: 21.55 kB / 306.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1613, allocations: 57.42 kB / 306.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.1613, allocations: 18.91 kB / 306.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1615, allocations: 204.7 kB / 306.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1615, allocations: 1.25 kB / 306.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007911/0.1623, allocations: 216.4 kB / 307 MB, free: 9.254 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.0002471/0.1625, allocations: 162.4 kB / 307.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1635, allocations: 0.804 MB / 307.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1635, allocations: 320 / 307.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.164, allocations: 0.5917 MB / 308.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1644, allocations: 43.83 kB / 308.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.1664, allocations: 0.997 MB / 309.6 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.1665, allocations: 135.2 kB / 309.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.1668, allocations: 80.62 kB / 309.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1669, allocations: 54.7 kB / 309.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1669, allocations: 0 / 309.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of Templates: time 0.01027/0.1772, allocations: 6.25 MB / 316.1 MB, free: 5.832 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: 3.1023360188119113]