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.001019/0.001019, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002557, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009781/0.0009781, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002343, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8267/0.8267, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1758/1.002, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.442e-06/1.442e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.219e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003723/0.003735, allocations: 4.233 MB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.005981, allocations: 1.709 MB / 227.9 MB, free: 10.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.006197, allocations: 12 kB / 227.9 MB, free: 10.06 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.007371, allocations: 1.073 MB / 229 MB, free: 8.984 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.007772, allocations: 262 kB / 229.3 MB, free: 8.727 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.008684, allocations: 0.7315 MB / 230 MB, free: 7.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.009203, allocations: 0.6608 MB / 230.7 MB, free: 7.328 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.009734, allocations: 463.5 kB / 231.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.01013, allocations: 419 kB / 231.5 MB, free: 6.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.01045, allocations: 279.2 kB / 231.8 MB, free: 6.191 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.01051, allocations: 56 kB / 231.8 MB, free: 6.137 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.01093, allocations: 267.6 kB / 232.1 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.01099, allocations: 103.6 kB / 232.2 MB, free: 5.773 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.01112, allocations: 179.6 kB / 232.4 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.01171, allocations: 0.6305 MB / 233 MB, free: 4.965 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.01172, allocations: 4 kB / 233 MB, free: 4.961 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01172, allocations: 0 / 233 MB, free: 4.961 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.01174, allocations: 0 / 233 MB, free: 4.961 MB / 234.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.002093/0.01383, allocations: 1.425 MB / 234.4 MB, free: 3.488 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.01386, allocations: 12.03 kB / 234.5 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/0.01472, allocations: 368.2 kB / 234.8 MB, free: 3.117 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.01489, allocations: 184.9 kB / 235 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.01493, allocations: 62.36 kB / 235.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.01503, allocations: 80.33 kB / 235.1 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.01561, allocations: 0.5733 MB / 235.7 MB, free: 2.172 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.01563, allocations: 192 / 235.7 MB, free: 2.172 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.01567, allocations: 32.38 kB / 235.7 MB, free: 2.141 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01568, allocations: 19.94 kB / 235.8 MB, free: 2.121 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.01597, allocations: 221 kB / 236 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.01795, allocations: 1.778 MB / 237.8 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.01872, allocations: 0.6314 MB / 238.4 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.0189, allocations: 151.5 kB / 238.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.608e-05/0.01897, allocations: 28.64 kB / 238.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.019, allocations: 47.16 kB / 238.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.984e-06/0.019, allocations: 0 / 238.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008296/0.01983, allocations: 0.55 MB / 239.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.01987, allocations: 89.7 kB / 239.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.02001, allocations: 244.8 kB / 239.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.02004, allocations: 33.7 kB / 239.5 MB, free: 14.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.02014, allocations: 304.2 kB / 239.8 MB, free: 13.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.02026, allocations: 261.8 kB / 240.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.02038, allocations: 138.5 kB / 240.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.02047, allocations: 350.7 kB / 240.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.02056, allocations: 73.97 kB / 240.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.02073, allocations: 264 kB / 240.9 MB, free: 12.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.02104, allocations: 393.1 kB / 241.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02104, allocations: 4 kB / 241.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004502/0.02149, allocations: 464.9 kB / 241.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.02151, allocations: 12.09 kB / 241.7 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.02151, allocations: 4 kB / 241.7 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.02191, allocations: 165.5 kB / 241.9 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.02224, allocations: 175.7 kB / 242.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.02388, allocations: 3.013 MB / 245.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.0241, allocations: 79.44 kB / 245.2 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.02412, allocations: 23.98 kB / 245.2 MB, free: 8.203 MB / 250.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.0001312/0.02426, allocations: 153.7 kB / 245.3 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.02432, allocations: 47.91 kB / 245.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.02479, allocations: 423.4 kB / 245.8 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.0248, allocations: 12 kB / 245.8 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.02481, allocations: 7.938 kB / 245.8 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02481, allocations: 3.984 kB / 245.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.02566, allocations: 0.7629 MB / 246.6 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02566, allocations: 0 / 246.6 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.02591, allocations: 127.8 kB / 246.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.02594, allocations: 47.58 kB / 246.8 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000289/0.02623, allocations: 137.6 kB / 246.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.02626, allocations: 12 kB / 246.9 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.02779, allocations: 2.627 MB / 249.5 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02779, allocations: 0 / 249.5 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.02857, allocations: 0.6214 MB / 250.1 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.02861, allocations: 12 kB / 250.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.02882, allocations: 27.92 kB / 250.2 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.02894, allocations: 56.48 kB / 250.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.02897, allocations: 12 kB / 250.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.674e-05/0.02906, allocations: 82.77 kB / 250.3 MB, free: 2.793 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02906, allocations: 7.969 kB / 250.3 MB, free: 2.785 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007671/0.02983, allocations: 215.6 kB / 250.6 MB, free: 2.574 MB / 250.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.0002457/0.03008, allocations: 128.2 kB / 250.7 MB, free: 2.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.03091, allocations: 0.6206 MB / 251.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.03092, allocations: 8 kB / 251.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.03137, allocations: 489.5 kB / 251.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.03174, allocations: 200.2 kB / 252 MB, free: 1.066 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007133/0.03888, allocations: 1.073 MB / 253.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.039, allocations: 136.8 kB / 253.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.03931, allocations: 88.36 kB / 253.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.03956, allocations: 119.3 kB / 253.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03956, allocations: 0 / 253.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of Templates: time 0.01024/0.0498, allocations: 6.969 MB / 260.4 MB, free: 8.652 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.933718961663544]