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.001316/0.001316, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002268/0.002268, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.444/1.444, 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.00156/0.00156, allocations: 43.94 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2296, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005661/0.2352, allocations: 3.928 MB / 435.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.238, allocations: 1.627 MB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.2382, allocations: 12 kB / 437.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.2406, allocations: 0.945 MB / 438.1 MB, free: 188 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.2411, allocations: 254.2 kB / 438.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.2427, allocations: 0.7348 MB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006791/0.2434, allocations: 0.6338 MB / 439.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.2441, allocations: 461.1 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.2445, allocations: 278.9 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.2449, allocations: 322.5 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.579e-05/0.245, allocations: 56 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.2456, allocations: 279.7 kB / 441.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2457, allocations: 139.5 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.2459, allocations: 270.7 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.247, allocations: 0.9754 MB / 442.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.247, allocations: 0 / 442.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2471, allocations: 0 / 442.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2471, allocations: 0 / 442.5 MB, free: 11.81 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.003658/0.2507, allocations: 1.215 MB / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2508, allocations: 8.031 kB / 443.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.2521, allocations: 200.4 kB / 443.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.2524, allocations: 185.6 kB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.2524, allocations: 54.38 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.2526, allocations: 72.38 kB / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.254, allocations: 0.7953 MB / 445 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.2541, allocations: 7.938 kB / 445 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.2541, allocations: 36 kB / 445 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.2542, allocations: 16 kB / 445 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.2555, allocations: 0.661 MB / 445.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.2596, allocations: 2.187 MB / 447.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.2615, allocations: 0.8168 MB / 448.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/0.2621, allocations: 299.5 kB / 449 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.874e-05/0.2622, allocations: 28.64 kB / 449 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2623, allocations: 39.5 kB / 449.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.2623, allocations: 3.938 kB / 449.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002631/0.2649, allocations: 0.9871 MB / 450 MB, free: 4.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.265, allocations: 111.5 kB / 450.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.2653, allocations: 264.7 kB / 450.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.2653, allocations: 37.7 kB / 450.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2655, allocations: 304.3 kB / 450.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.2657, allocations: 261.8 kB / 451 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.2659, allocations: 134.6 kB / 451.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2661, allocations: 350.7 kB / 451.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.2666, allocations: 237.8 kB / 451.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/0.2672, allocations: 412 kB / 452.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.2684, allocations: 0.6375 MB / 452.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2684, allocations: 4 kB / 452.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001632/0.2701, allocations: 0.8307 MB / 453.6 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2701, allocations: 8 kB / 453.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2701, allocations: 7.984 kB / 453.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.2705, allocations: 129.6 kB / 453.7 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.2712, allocations: 159.8 kB / 453.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.2747, allocations: 3.513 MB / 457.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.2752, allocations: 83.39 kB / 457.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.2753, allocations: 39.92 kB / 457.5 MB, free: 12.14 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.0003052/0.2756, allocations: 198.1 kB / 457.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.2757, allocations: 35.77 kB / 457.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2773, allocations: 0.7452 MB / 458.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.2773, allocations: 8 kB / 458.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2773, allocations: 0 / 458.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.2773, allocations: 7.984 kB / 458.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.2799, allocations: 1.293 MB / 459.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2799, allocations: 3.984 kB / 459.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.2804, allocations: 107.9 kB / 459.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.2807, allocations: 113.6 kB / 460 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.2807, allocations: 20 kB / 460 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.2836, allocations: 3.077 MB / 463.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2836, allocations: 0 / 463.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.2856, allocations: 1.121 MB / 464.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.2857, allocations: 43.66 kB / 464.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.2858, allocations: 19.95 kB / 464.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.2861, allocations: 23.98 kB / 464.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.2863, allocations: 64.42 kB / 464.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.2863, allocations: 23.98 kB / 464.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.2865, allocations: 180.5 kB / 464.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2865, allocations: 0 / 464.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000832/0.2873, allocations: 215.6 kB / 464.8 MB, free: 4.559 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.0002684/0.2876, allocations: 151.2 kB / 464.9 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.2892, allocations: 0.8561 MB / 465.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2892, allocations: 0 / 465.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.29, allocations: 0.5329 MB / 466.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.2905, allocations: 50.94 kB / 466.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.2926, allocations: 1.082 MB / 467.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2929, allocations: 269.5 kB / 467.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000318/0.2932, allocations: 76.33 kB / 467.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2934, allocations: 47.42 kB / 467.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2934, allocations: 0 / 467.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of Templates: time 0.0142/0.3076, allocations: 6.83 MB / 474.7 MB, free: 10.63 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.687161177396774]