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.001115/0.001115, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001846/0.001846, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9625/0.9625, allocations: 158.6 MB / 187.5 MB, free: 2.945 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.633e-06/1.633e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.542e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003891/0.003917, allocations: 4.245 MB / 255.4 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.006362, allocations: 1.647 MB / 257 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.006666, allocations: 12 kB / 257 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.008102, allocations: 1.077 MB / 258.1 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008006/0.008902, allocations: 262 kB / 258.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.01001, allocations: 0.7277 MB / 259.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.01072, allocations: 0.6685 MB / 259.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006545/0.01137, allocations: 461.3 kB / 260.2 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.01179, allocations: 411.1 kB / 260.6 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.0121, allocations: 275.2 kB / 260.9 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.01216, allocations: 56 kB / 260.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.01273, allocations: 251.6 kB / 261.2 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.01281, allocations: 143.4 kB / 261.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.01299, allocations: 231.4 kB / 261.5 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008026/0.01379, allocations: 0.685 MB / 262.2 MB, free: 12.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.0138, allocations: 7.984 kB / 262.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0138, allocations: 0 / 262.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.01381, allocations: 0 / 262.2 MB, free: 12.62 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.002207/0.01602, allocations: 1.299 MB / 263.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.01606, allocations: 15.98 kB / 263.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009293/0.01699, allocations: 355.9 kB / 263.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.01715, allocations: 183.8 kB / 264.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.01719, allocations: 54.38 kB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.01729, allocations: 72.38 kB / 264.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008366/0.01813, allocations: 0.6443 MB / 264.8 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.01815, allocations: 192 / 264.8 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.0182, allocations: 32.38 kB / 264.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.01821, allocations: 19.94 kB / 264.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.01881, allocations: 351.6 kB / 265.2 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.02165, allocations: 2.202 MB / 267.4 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.0227, allocations: 0.723 MB / 268.2 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.02301, allocations: 197.2 kB / 268.3 MB, free: 6.285 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.02308, allocations: 28.64 kB / 268.4 MB, free: 6.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.02311, allocations: 42.05 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 3.477e-06/0.02311, allocations: 4 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.001288/0.0244, allocations: 0.731 MB / 269.1 MB, free: 5.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.02445, allocations: 115.5 kB / 269.3 MB, free: 5.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.02466, allocations: 300.2 kB / 269.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.02469, allocations: 41.7 kB / 269.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.02483, allocations: 355 kB / 269.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.02497, allocations: 257.8 kB / 270.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.02511, allocations: 156.2 kB / 270.3 MB, free: 4.191 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.02524, allocations: 0.5196 MB / 270.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.02544, allocations: 117.9 kB / 271 MB, free: 3.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.02575, allocations: 366.8 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.02634, allocations: 485.1 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.02635, allocations: 0 / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001073/0.02742, allocations: 0.6487 MB / 272.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.02744, allocations: 8 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.02745, allocations: 7.938 kB / 272.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004554/0.02791, allocations: 167.5 kB / 272.6 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.02825, allocations: 155.7 kB / 272.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.03068, allocations: 4.454 MB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.03095, allocations: 75.45 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.03099, allocations: 40.05 kB / 277.4 MB, free: 12.75 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.000163/0.03115, allocations: 200.6 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.03123, allocations: 63.72 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/0.03194, allocations: 0.5594 MB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.03195, allocations: 11.94 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.03195, allocations: 4 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.03196, allocations: 3.984 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.03325, allocations: 1.142 MB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.03325, allocations: 3.938 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.0335, allocations: 103.9 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006203/0.03412, allocations: 155.5 kB / 279.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.03415, allocations: 12 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.03589, allocations: 3.883 MB / 283.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03589, allocations: 3.938 kB / 283.5 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.03677, allocations: 0.881 MB / 284.4 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.03681, allocations: 51.58 kB / 284.4 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.03685, allocations: 12 kB / 284.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.03702, allocations: 28.06 kB / 284.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.03711, allocations: 48.55 kB / 284.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.03714, allocations: 27.98 kB / 284.5 MB, free: 5.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.03725, allocations: 205.1 kB / 284.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03725, allocations: 0 / 284.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.03779, allocations: 219.6 kB / 285 MB, free: 4.789 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.0002195/0.03801, allocations: 150.7 kB / 285.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008265/0.03883, allocations: 0.8045 MB / 285.9 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.03884, allocations: 4 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.03923, allocations: 0.583 MB / 286.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.03952, allocations: 52.36 kB / 286.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.04127, allocations: 1.023 MB / 287.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.04136, allocations: 132.8 kB / 287.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002049/0.04156, allocations: 84.3 kB / 287.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.04166, allocations: 48.48 kB / 287.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.04166, allocations: 0 / 287.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of Templates: time 0.008768/0.05043, allocations: 6.062 MB / 293.9 MB, free: 11.75 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: 2.862577109131962]