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.001738/0.001738, allocations: 116.8 kB / 19.18 MB, free: 3.926 MB / 14.72 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.002117/0.002117, allocations: 210.6 kB / 22.13 MB, free: 0.9805 MB / 14.72 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.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.26 MB / 206.1 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 0.002174/0.002174, allocations: 63.89 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1142, allocations: 53.33 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.007392/0.1216, allocations: 4.349 MB / 432.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2041/0.3257, allocations: 1.735 MB / 433.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.326, allocations: 12.03 kB / 433.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.3279, allocations: 1.022 MB / 435 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005422/0.3284, allocations: 260.1 kB / 435.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3298, allocations: 0.7733 MB / 436 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.3304, allocations: 0.6319 MB / 436.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.331, allocations: 409.5 kB / 437 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.3313, allocations: 277.7 kB / 437.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.3317, allocations: 350.5 kB / 437.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.3317, allocations: 56.44 kB / 437.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.3323, allocations: 296.5 kB / 438 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.3323, allocations: 140.2 kB / 438.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.3326, allocations: 326.2 kB / 438.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3336, allocations: 0.9839 MB / 439.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3336, allocations: 0 / 439.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3336, allocations: 0 / 439.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3337, allocations: 1.344 kB / 439.4 MB, free: 6.938 MB / 350.1 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.003425/0.3371, allocations: 1.293 MB / 440.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3371, allocations: 8.594 kB / 440.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3385, allocations: 199.2 kB / 440.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3387, allocations: 240.2 kB / 441.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.3387, allocations: 56.67 kB / 441.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3388, allocations: 72.56 kB / 441.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.3401, allocations: 0.7717 MB / 442 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.3401, allocations: 2.078 kB / 442.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.3402, allocations: 30.41 kB / 442.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.3402, allocations: 17.78 kB / 442.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.3414, allocations: 0.667 MB / 442.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.3452, allocations: 3.265 MB / 446 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.347, allocations: 2.017 MB / 448 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.3475, allocations: 289.9 kB / 448.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3477, allocations: 189.7 kB / 448.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3477, allocations: 43.69 kB / 448.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.3477, allocations: 0 / 448.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00232/0.35, allocations: 1.137 MB / 449.7 MB, free: 108 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.3501, allocations: 115.3 kB / 449.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.3504, allocations: 278.8 kB / 450.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.3505, allocations: 36.27 kB / 450.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.3507, allocations: 302.9 kB / 450.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.3509, allocations: 263 kB / 450.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.3511, allocations: 141.3 kB / 450.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3513, allocations: 350.9 kB / 451.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.3518, allocations: 234.7 kB / 451.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.3524, allocations: 386.8 kB / 451.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.3536, allocations: 0.6387 MB / 452.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3536, allocations: 2.219 kB / 452.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001605/0.3552, allocations: 0.8268 MB / 453.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3552, allocations: 8.484 kB / 453.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3552, allocations: 3.062 kB / 453.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.3556, allocations: 132.4 kB / 453.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.3563, allocations: 157.5 kB / 453.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.3599, allocations: 3.79 MB / 457.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/0.3605, allocations: 85.23 kB / 457.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.3606, allocations: 34 kB / 457.4 MB, free: 10.24 MB / 366.1 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.0003167/0.3609, allocations: 195.4 kB / 457.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.361, allocations: 48.34 kB / 457.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3626, allocations: 0.735 MB / 458.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3626, allocations: 7.469 kB / 458.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3626, allocations: 7.219 kB / 458.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.3626, allocations: 6.938 kB / 458.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.3653, allocations: 1.494 MB / 459.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3653, allocations: 0 / 459.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.3658, allocations: 112.5 kB / 460 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.3661, allocations: 118.6 kB / 460.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.3661, allocations: 14.11 kB / 460.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.3692, allocations: 3.352 MB / 463.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3692, allocations: 0.5156 kB / 463.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.3712, allocations: 1.127 MB / 464.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3714, allocations: 125.9 kB / 464.8 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.3714, allocations: 18.67 kB / 464.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.3718, allocations: 25.59 kB / 464.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.372, allocations: 57.25 kB / 464.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.372, allocations: 20.92 kB / 464.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.3722, allocations: 195.8 kB / 465.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3722, allocations: 1.094 kB / 465.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008971/0.3731, allocations: 217.6 kB / 465.3 MB, free: 4.789 MB / 366.1 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.0003012/0.3734, allocations: 153.2 kB / 465.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.3751, allocations: 0.848 MB / 466.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3751, allocations: 0 / 466.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008557/0.376, allocations: 0.5371 MB / 466.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.3765, allocations: 42.75 kB / 466.9 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.3789, allocations: 1.127 MB / 468 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.3795, allocations: 0.865 MB / 468.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3797, allocations: 60.47 kB / 468.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3797, allocations: 0 / 468.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of Templates: time 0.01754/0.3972, allocations: 11.86 MB / 480.8 MB, free: 10.45 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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: 8.194526033010334]