Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001856/0.001856, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002358/0.002358, allocations: 204 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 47.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2485, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005712/0.2542, allocations: 3.928 MB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.2571, allocations: 1.619 MB / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.2575, allocations: 8 kB / 437.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.26, allocations: 0.9528 MB / 438.1 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.2607, allocations: 254.3 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.2623, allocations: 0.7424 MB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007817/0.2631, allocations: 0.6299 MB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007997/0.2639, allocations: 472 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.2645, allocations: 282.9 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.265, allocations: 358.6 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2651, allocations: 56 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.2658, allocations: 287.8 kB / 441.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.2659, allocations: 135.5 kB / 441.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.2663, allocations: 270.7 kB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2676, allocations: 0.9804 MB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2676, allocations: 0 / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2676, allocations: 0 / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2677, allocations: 0 / 442.5 MB, free: 11.77 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.003914/0.2716, allocations: 1.215 MB / 443.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2716, allocations: 8.031 kB / 443.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.2731, allocations: 200.4 kB / 443.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.2733, allocations: 185.6 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.2733, allocations: 54.38 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.2735, allocations: 72.38 kB / 444.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.275, allocations: 0.8069 MB / 445 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.275, allocations: 3.953 kB / 445 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.2751, allocations: 31.98 kB / 445.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.2751, allocations: 20 kB / 445.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.2765, allocations: 0.6571 MB / 445.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.2806, allocations: 2.198 MB / 448 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.2826, allocations: 0.8133 MB / 448.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.2833, allocations: 298.9 kB / 449.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2834, allocations: 28.62 kB / 449.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.2834, allocations: 39.22 kB / 449.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.2834, allocations: 4 kB / 449.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002871/0.2863, allocations: 0.9871 MB / 450.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.2864, allocations: 111.5 kB / 450.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.2867, allocations: 268.7 kB / 450.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.2867, allocations: 33.7 kB / 450.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2869, allocations: 308.3 kB / 450.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.2871, allocations: 261.7 kB / 451.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.2874, allocations: 138.6 kB / 451.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2875, allocations: 354.7 kB / 451.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.2881, allocations: 229.9 kB / 451.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.2887, allocations: 412 kB / 452.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2899, allocations: 0.6376 MB / 452.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2899, allocations: 0 / 452.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001732/0.2916, allocations: 0.8305 MB / 453.7 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2917, allocations: 8 kB / 453.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2917, allocations: 4 kB / 453.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.2921, allocations: 125.9 kB / 453.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/0.2928, allocations: 155.8 kB / 453.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.2965, allocations: 3.513 MB / 457.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.297, allocations: 91.52 kB / 457.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.2971, allocations: 36.14 kB / 457.6 MB, free: 12.11 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.0002962/0.2974, allocations: 193.7 kB / 457.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2975, allocations: 43.7 kB / 457.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.2992, allocations: 0.7453 MB / 458.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2992, allocations: 8 kB / 458.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2992, allocations: 0 / 458.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2992, allocations: 3.984 kB / 458.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.3018, allocations: 1.297 MB / 459.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3018, allocations: 0 / 459.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.3023, allocations: 111.9 kB / 460 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.3026, allocations: 117.6 kB / 460.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.3027, allocations: 12 kB / 460.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.3057, allocations: 3.077 MB / 463.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3057, allocations: 0 / 463.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.3078, allocations: 1.121 MB / 464.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3079, allocations: 39.67 kB / 464.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.3079, allocations: 15.98 kB / 464.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.3083, allocations: 27.98 kB / 464.4 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3085, allocations: 60.48 kB / 464.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.3085, allocations: 23.98 kB / 464.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3087, allocations: 180.5 kB / 464.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3087, allocations: 0 / 464.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008131/0.3095, allocations: 219.6 kB / 464.9 MB, free: 4.523 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.0002699/0.3098, allocations: 159 kB / 465 MB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3114, allocations: 0.8522 MB / 465.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3114, allocations: 0 / 465.9 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.3123, allocations: 0.5368 MB / 466.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.3127, allocations: 43 kB / 466.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3149, allocations: 1.086 MB / 467.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3152, allocations: 261.5 kB / 467.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.3155, allocations: 84.3 kB / 467.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3157, allocations: 47.42 kB / 467.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3157, allocations: 0 / 467.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of Templates: time 0.01418/0.3299, allocations: 7.057 MB / 475 MB, free: 10.37 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.717586841899902]