Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008947/0.0008947, allocations: 87.62 kB / 22.19 MB, free: 2.367 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.0009068/0.0009068, allocations: 160.6 kB / 25.44 MB, free: 9.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8473/0.8473, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.868e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003603/0.003632, allocations: 3.866 MB / 303.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.005687, allocations: 1.593 MB / 305.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.00588, allocations: 16 kB / 305.2 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.007073, allocations: 0.9951 MB / 306.2 MB, free: 396 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.007484, allocations: 258 kB / 306.4 MB, free: 136 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009158/0.0084, allocations: 0.7199 MB / 307.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.008911, allocations: 0.6682 MB / 307.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.009464, allocations: 477.3 kB / 308.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.009844, allocations: 407 kB / 308.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.01013, allocations: 279.2 kB / 309 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.01019, allocations: 56 kB / 309 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.01056, allocations: 255.5 kB / 309.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.01063, allocations: 143.4 kB / 309.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01077, allocations: 223.4 kB / 309.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.01158, allocations: 0.9774 MB / 310.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01158, allocations: 0 / 310.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01158, allocations: 0 / 310.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.01159, allocations: 3.938 kB / 310.6 MB, free: 11.95 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.002092/0.01368, allocations: 1.2 MB / 311.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.01373, allocations: 11.98 kB / 311.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.01442, allocations: 208.3 kB / 312 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.01458, allocations: 188.9 kB / 312.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.01462, allocations: 62.38 kB / 312.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.01471, allocations: 72.38 kB / 312.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.01565, allocations: 0.7877 MB / 313.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.01567, allocations: 8.125 kB / 313.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.01572, allocations: 32.38 kB / 313.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.01573, allocations: 19.94 kB / 313.2 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000839/0.01657, allocations: 0.6649 MB / 313.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.01892, allocations: 2.161 MB / 316 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.02, allocations: 0.8271 MB / 316.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.02038, allocations: 283.2 kB / 317.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.884e-05/0.02043, allocations: 24.92 kB / 317.1 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.02046, allocations: 43.16 kB / 317.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.02046, allocations: 0 / 317.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.001478/0.02194, allocations: 0.9832 MB / 318.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.02199, allocations: 115.4 kB / 318.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.02218, allocations: 265.5 kB / 318.5 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.02221, allocations: 33.7 kB / 318.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.02233, allocations: 308.3 kB / 318.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.02245, allocations: 257.8 kB / 319.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.02258, allocations: 134.6 kB / 319.2 MB, free: 3.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.02268, allocations: 346.8 kB / 319.6 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.02298, allocations: 229.9 kB / 319.8 MB, free: 2.469 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.02336, allocations: 408 kB / 320.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.02404, allocations: 0.6337 MB / 320.8 MB, free: 1.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02405, allocations: 0 / 320.8 MB, free: 1.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001028/0.02507, allocations: 0.8303 MB / 321.7 MB, free: 496 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.02509, allocations: 8.5 kB / 321.7 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.0251, allocations: 11.94 kB / 321.7 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.02537, allocations: 125.6 kB / 321.8 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.0257, allocations: 159.8 kB / 322 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.02788, allocations: 3.509 MB / 325.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.02814, allocations: 87.44 kB / 325.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.02817, allocations: 32 kB / 325.6 MB, free: 12.36 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.0001798/0.02835, allocations: 197.6 kB / 325.8 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.02841, allocations: 43.75 kB / 325.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/0.02934, allocations: 0.7456 MB / 326.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.02934, allocations: 11.98 kB / 326.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.02935, allocations: 7.938 kB / 326.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.02935, allocations: 3.984 kB / 326.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.03083, allocations: 1.286 MB / 327.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.03084, allocations: 3.938 kB / 327.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.03109, allocations: 111.9 kB / 328 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.03127, allocations: 113.6 kB / 328.1 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.0313, allocations: 12 kB / 328.1 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.03297, allocations: 3.085 MB / 331.2 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03298, allocations: 0 / 331.2 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.03417, allocations: 1.109 MB / 332.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.03422, allocations: 55.56 kB / 332.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.03426, allocations: 15.92 kB / 332.4 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.03444, allocations: 31.98 kB / 332.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.03453, allocations: 56.53 kB / 332.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.03456, allocations: 20 kB / 332.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.03468, allocations: 185.1 kB / 332.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03468, allocations: 0 / 332.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005631/0.03525, allocations: 211.7 kB / 332.9 MB, free: 4.766 MB / 314.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.0002478/0.0355, allocations: 155.1 kB / 333 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.03651, allocations: 0.8444 MB / 333.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03651, allocations: 0 / 333.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.03697, allocations: 0.5406 MB / 334.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.03727, allocations: 40.5 kB / 334.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.03866, allocations: 1.102 MB / 335.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.03884, allocations: 265.5 kB / 335.8 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.03897, allocations: 56.47 kB / 335.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03897, allocations: 0 / 335.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of Templates: time 0.009557/0.04853, allocations: 11.76 MB / 347.6 MB, free: 5.863 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.282511589117348]