Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003542/0.003542, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8341/0.8341, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.779e-05, allocations: 2.281 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003684/0.003712, allocations: 3.934 MB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.005801, allocations: 1.634 MB / 331.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.00603, allocations: 16 kB / 331.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.007241, allocations: 0.9943 MB / 332.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004832/0.007724, allocations: 266 kB / 332.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.008697, allocations: 0.7277 MB / 333.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.009167, allocations: 0.6644 MB / 334.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005277/0.009694, allocations: 473.3 kB / 334.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.01008, allocations: 403.1 kB / 334.9 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.01032, allocations: 275.2 kB / 335.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.01037, allocations: 56 kB / 335.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.01081, allocations: 275.5 kB / 335.5 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.01089, allocations: 143.4 kB / 335.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.01102, allocations: 219.4 kB / 335.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000806/0.01183, allocations: 1.005 MB / 336.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.01183, allocations: 0 / 336.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.01183, allocations: 0 / 336.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.01184, allocations: 0 / 336.9 MB, free: 4.207 MB / 298.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.001969/0.01381, allocations: 1.211 MB / 338.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.01385, allocations: 12.03 kB / 338.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.01452, allocations: 196.4 kB / 338.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.01467, allocations: 179.4 kB / 338.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.01471, allocations: 58.38 kB / 338.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.0148, allocations: 80.36 kB / 338.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.01565, allocations: 0.7955 MB / 339.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.01567, allocations: 192 / 339.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.01571, allocations: 32.38 kB / 339.4 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.01572, allocations: 19.94 kB / 339.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.01651, allocations: 0.6688 MB / 340.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.01888, allocations: 2.2 MB / 342.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.01994, allocations: 0.8128 MB / 343.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.0203, allocations: 291.4 kB / 343.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.02037, allocations: 28.64 kB / 343.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.0204, allocations: 43.2 kB / 343.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.863e-06/0.0204, allocations: 0 / 343.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001457/0.02186, allocations: 0.987 MB / 344.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.02191, allocations: 111.5 kB / 344.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.0221, allocations: 265.5 kB / 344.8 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.02213, allocations: 41.7 kB / 344.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.02225, allocations: 296.4 kB / 345.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.02237, allocations: 261.8 kB / 345.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.0225, allocations: 134.6 kB / 345.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.0226, allocations: 350.8 kB / 345.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.02288, allocations: 229.9 kB / 346.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.02324, allocations: 408 kB / 346.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.0239, allocations: 0.6376 MB / 347.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.0239, allocations: 4 kB / 347.2 MB, free: 9.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009748/0.02488, allocations: 0.8308 MB / 348 MB, free: 8.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.02489, allocations: 8 kB / 348 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.0249, allocations: 15.92 kB / 348 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.02518, allocations: 125.6 kB / 348.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.02549, allocations: 151.8 kB / 348.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.0276, allocations: 3.514 MB / 351.8 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.02788, allocations: 79.45 kB / 351.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.02791, allocations: 35.98 kB / 351.9 MB, free: 4.551 MB / 314.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.0002117/0.02813, allocations: 206.4 kB / 352.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.02818, allocations: 35.77 kB / 352.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.02906, allocations: 0.7414 MB / 352.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.02907, allocations: 8 kB / 352.9 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.02908, allocations: 4 kB / 352.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.02908, allocations: 3.984 kB / 352.9 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.03051, allocations: 1.293 MB / 354.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.03051, allocations: 7.922 kB / 354.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.03075, allocations: 111.9 kB / 354.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/0.03092, allocations: 113.6 kB / 354.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.03095, allocations: 12 kB / 354.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.03254, allocations: 3.069 MB / 357.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.03255, allocations: 4 kB / 357.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.03368, allocations: 1.125 MB / 358.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.03373, allocations: 51.59 kB / 358.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.03376, allocations: 12 kB / 358.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.03394, allocations: 27.98 kB / 358.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.03403, allocations: 56.61 kB / 358.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.03405, allocations: 23.98 kB / 358.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.03417, allocations: 185.2 kB / 359 MB, free: 13.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03417, allocations: 0 / 359 MB, free: 13.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000586/0.03475, allocations: 219.6 kB / 359.2 MB, free: 12.96 MB / 330.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.0002241/0.03498, allocations: 151.1 kB / 359.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009882/0.03596, allocations: 0.853 MB / 360.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.03597, allocations: 0 / 360.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.0364, allocations: 0.5361 MB / 360.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.03671, allocations: 40.48 kB / 360.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.03806, allocations: 1.067 MB / 361.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.03824, allocations: 269.5 kB / 362.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.03836, allocations: 56.48 kB / 362.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03836, allocations: 0 / 362.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of Templates: time 0.009496/0.04785, allocations: 12.05 MB / 374.2 MB, free: 13.81 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.653102808631957]