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.002491/0.002491, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.002968/0.002968, allocations: 167.3 kB / 25.03 MB, free: 8.426 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 1.368/1.368, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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 2.705e-06/2.705e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/4.025e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.01158/0.01162, allocations: 4.225 MB / 254.6 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.0173, allocations: 1.632 MB / 256.2 MB, free: 1.938 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004757/0.01777, allocations: 12 kB / 256.2 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004749/0.02252, allocations: 1.077 MB / 257.3 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.02386, allocations: 258 kB / 257.6 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.02669, allocations: 0.7278 MB / 258.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.02798, allocations: 0.6646 MB / 259 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.02933, allocations: 465.3 kB / 259.4 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.03047, allocations: 411 kB / 259.8 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008066/0.03128, allocations: 279.2 kB / 260.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.03145, allocations: 56 kB / 260.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.03256, allocations: 263.5 kB / 260.4 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.0328, allocations: 139.4 kB / 260.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.03332, allocations: 223.4 kB / 260.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.03572, allocations: 0.9928 MB / 261.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.03573, allocations: 0 / 261.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.933e-06/0.03573, allocations: 3.984 kB / 261.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.03576, allocations: 0 / 261.8 MB, free: 12.38 MB / 250.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.007717/0.04348, allocations: 1.33 MB / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.04354, allocations: 15.98 kB / 263.1 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.04642, allocations: 355.9 kB / 263.4 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.0468, allocations: 191.7 kB / 263.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.0469, allocations: 54.38 kB / 263.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.04713, allocations: 72.38 kB / 263.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.04969, allocations: 0.8156 MB / 264.6 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.04973, allocations: 192 / 264.6 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.04985, allocations: 32.38 kB / 264.6 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.04989, allocations: 19.94 kB / 264.6 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.05213, allocations: 0.6219 MB / 265.2 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00773/0.05986, allocations: 2.481 MB / 267.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.06314, allocations: 0.8398 MB / 268.6 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/0.06393, allocations: 293.2 kB / 268.9 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.06403, allocations: 24.92 kB / 268.9 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.06408, allocations: 49.98 kB / 268.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 5.39e-06/0.06409, allocations: 3.984 kB / 268.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.002723/0.06681, allocations: 0.9615 MB / 269.9 MB, free: 4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.06691, allocations: 115.4 kB / 270 MB, free: 3.863 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.06768, allocations: 352.1 kB / 270.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.06774, allocations: 41.7 kB / 270.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.06808, allocations: 367 kB / 270.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.06838, allocations: 265.9 kB / 271 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.06869, allocations: 160.2 kB / 271.2 MB, free: 2.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003553/0.06905, allocations: 0.5391 MB / 271.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.06961, allocations: 217.9 kB / 271.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.07037, allocations: 454.9 kB / 272.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.07163, allocations: 0.6963 MB / 273.1 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.07164, allocations: 0 / 273.1 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00186/0.0735, allocations: 0.8402 MB / 273.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.07353, allocations: 8.219 kB / 273.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.07355, allocations: 7.938 kB / 273.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009551/0.0745, allocations: 191.2 kB / 274.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.07518, allocations: 159.7 kB / 274.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/0.08031, allocations: 4.774 MB / 279 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.08089, allocations: 75.5 kB / 279.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.08097, allocations: 28 kB / 279.1 MB, free: 10.27 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.0003921/0.08136, allocations: 260.3 kB / 279.4 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.08153, allocations: 59.77 kB / 279.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.08324, allocations: 0.7196 MB / 280.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.08325, allocations: 8 kB / 280.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.08326, allocations: 4 kB / 280.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.08327, allocations: 3.984 kB / 280.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.08615, allocations: 1.419 MB / 281.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.08616, allocations: 7.922 kB / 281.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.08669, allocations: 103.8 kB / 281.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008065/0.0875, allocations: 179.2 kB / 281.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.08755, allocations: 12 kB / 281.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004288/0.09184, allocations: 4.149 MB / 286 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.09184, allocations: 0 / 286 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.09399, allocations: 1.189 MB / 287.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.09411, allocations: 59.59 kB / 287.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.09418, allocations: 12 kB / 287.3 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.09455, allocations: 23.98 kB / 287.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.0947, allocations: 60.48 kB / 287.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.09474, allocations: 19.98 kB / 287.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.095, allocations: 237.1 kB / 287.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.095, allocations: 0 / 287.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008649/0.09586, allocations: 219.6 kB / 287.9 MB, free: 1.184 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.000317/0.09618, allocations: 143.2 kB / 288 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.09799, allocations: 0.9847 MB / 289 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.09799, allocations: 0 / 289 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.099, allocations: 0.6761 MB / 289.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.09947, allocations: 52.42 kB / 289.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.1018, allocations: 1.105 MB / 290.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1021, allocations: 269.4 kB / 291.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.1025, allocations: 84.31 kB / 291.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1026, allocations: 48.48 kB / 291.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1026, allocations: 0 / 291.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Templates: time 0.01434/0.117, allocations: 6.056 MB / 297.3 MB, free: 7.66 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] 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: 4.689810061012395]