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.00111/0.00111, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001222/0.001222, allocations: 163.9 kB / 25.32 MB, free: 9.457 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.8889/0.8889, allocations: 158.6 MB / 187.2 MB, free: 2.508 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.533e-06/1.533e-06, allocations: 0 / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.148e-05, allocations: 6.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006014/0.006045, allocations: 4.266 MB / 255.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.009592, allocations: 1.643 MB / 257 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.01004, allocations: 12 kB / 257 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.01214, allocations: 1.085 MB / 258.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.01331, allocations: 262 kB / 258.3 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.01452, allocations: 0.7316 MB / 259 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.01509, allocations: 0.6607 MB / 259.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.0157, allocations: 465.3 kB / 260.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.01611, allocations: 407 kB / 260.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.01643, allocations: 287.2 kB / 260.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.01649, allocations: 60 kB / 260.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.01695, allocations: 255.6 kB / 261.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.01703, allocations: 143.4 kB / 261.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.01718, allocations: 227.4 kB / 261.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.01785, allocations: 0.6928 MB / 262.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01786, allocations: 0 / 262.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01786, allocations: 0 / 262.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.01787, allocations: 0 / 262.2 MB, free: 8.367 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.001968/0.01983, allocations: 1.296 MB / 263.5 MB, free: 7.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.01987, allocations: 11.98 kB / 263.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.0207, allocations: 351.9 kB / 263.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.02084, allocations: 191.7 kB / 264 MB, free: 6.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.02088, allocations: 58.38 kB / 264.1 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.02097, allocations: 72.38 kB / 264.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.02177, allocations: 0.6404 MB / 264.8 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.02179, allocations: 192 / 264.8 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.02183, allocations: 36.38 kB / 264.8 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.02185, allocations: 19.94 kB / 264.9 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.02237, allocations: 355.5 kB / 265.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.02468, allocations: 2.191 MB / 267.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.02579, allocations: 0.7268 MB / 268.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.02606, allocations: 193.2 kB / 268.3 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.645e-05/0.02613, allocations: 24.64 kB / 268.3 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.02615, allocations: 42.33 kB / 268.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.02616, allocations: 4 kB / 268.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001154/0.02731, allocations: 0.7348 MB / 269.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.02736, allocations: 115.5 kB / 269.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.02754, allocations: 304.2 kB / 269.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.02757, allocations: 37.7 kB / 269.6 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.0277, allocations: 355 kB / 269.9 MB, free: 364 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.02782, allocations: 257.8 kB / 270.2 MB, free: 104 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.02798, allocations: 156.3 kB / 270.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.02811, allocations: 0.5274 MB / 270.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.02828, allocations: 113.9 kB / 271 MB, free: 15.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.02857, allocations: 355 kB / 271.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.02903, allocations: 493 kB / 271.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.02904, allocations: 4 kB / 271.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007276/0.02976, allocations: 0.6488 MB / 272.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.02978, allocations: 8 kB / 272.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.02979, allocations: 8.156 kB / 272.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.03022, allocations: 167.2 kB / 272.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.03054, allocations: 151.7 kB / 272.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.03269, allocations: 4.454 MB / 277.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.0329, allocations: 79.45 kB / 277.3 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.03293, allocations: 31.98 kB / 277.3 MB, free: 8.504 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.000147/0.03308, allocations: 204.4 kB / 277.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.03316, allocations: 63.77 kB / 277.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.03381, allocations: 0.5556 MB / 278.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.03382, allocations: 8 kB / 278.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.03382, allocations: 0 / 278.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.03383, allocations: 3.984 kB / 278.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.03505, allocations: 1.15 MB / 279.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.03505, allocations: 3.938 kB / 279.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.0353, allocations: 103.8 kB / 279.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000331/0.03563, allocations: 155.5 kB / 279.6 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.03566, allocations: 16 kB / 279.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.03728, allocations: 3.876 MB / 283.5 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03728, allocations: 4 kB / 283.5 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008132/0.03809, allocations: 0.877 MB / 284.3 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.03813, allocations: 51.58 kB / 284.4 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.03816, allocations: 12 kB / 284.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.03832, allocations: 20 kB / 284.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.03841, allocations: 56.61 kB / 284.5 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.03843, allocations: 23.98 kB / 284.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.03854, allocations: 209.1 kB / 284.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03854, allocations: 0 / 284.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.03898, allocations: 215.6 kB / 284.9 MB, free: 0.5547 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.0001875/0.03917, allocations: 151.2 kB / 285.1 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007694/0.03994, allocations: 0.8045 MB / 285.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.03994, allocations: 0 / 285.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.04032, allocations: 0.5899 MB / 286.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.04061, allocations: 53.23 kB / 286.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.04202, allocations: 1.034 MB / 287.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.628e-05/0.04211, allocations: 136.8 kB / 287.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.0423, allocations: 88.3 kB / 287.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.0424, allocations: 48.42 kB / 287.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0424, allocations: 0 / 287.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of Templates: time 0.008089/0.05049, allocations: 6.053 MB / 293.9 MB, free: 7.484 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","",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.1137106623500586]