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.001881/0.001881, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002263/0.002263, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.425/1.425, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001533/0.001533, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2086, allocations: 53.38 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005586/0.2142, allocations: 3.92 MB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.2168, allocations: 1.627 MB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2169, allocations: 16 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.2193, allocations: 0.949 MB / 438.9 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.2198, allocations: 250.2 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.2213, allocations: 0.727 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006538/0.222, allocations: 0.6377 MB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.2227, allocations: 473.1 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.2231, allocations: 282.9 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.2235, allocations: 358.6 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.2236, allocations: 56 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.2241, allocations: 287.7 kB / 441.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.2242, allocations: 135.5 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.2244, allocations: 266.7 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2255, allocations: 0.9864 MB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2256, allocations: 0 / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2256, allocations: 0 / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2256, allocations: 0 / 443.3 MB, free: 11.75 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.0039/0.2295, allocations: 1.211 MB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2295, allocations: 12.03 kB / 444.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.231, allocations: 196.4 kB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.2312, allocations: 185.6 kB / 444.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.2313, allocations: 54.38 kB / 444.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2314, allocations: 80.36 kB / 445 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.2329, allocations: 0.7992 MB / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2329, allocations: 0 / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.233, allocations: 32 kB / 445.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.233, allocations: 16 kB / 445.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.2344, allocations: 0.6688 MB / 446.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/0.2384, allocations: 2.191 MB / 448.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.2404, allocations: 0.8208 MB / 449.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.241, allocations: 287.5 kB / 449.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.2411, allocations: 28.62 kB / 449.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.2412, allocations: 47.44 kB / 449.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.2412, allocations: 0 / 449.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002661/0.2439, allocations: 0.9793 MB / 450.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.2439, allocations: 115.5 kB / 451 MB, free: 3.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.2442, allocations: 268.7 kB / 451.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.2443, allocations: 37.7 kB / 451.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.2445, allocations: 308.3 kB / 451.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.2447, allocations: 257.8 kB / 451.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.2449, allocations: 142.6 kB / 452 MB, free: 2.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2451, allocations: 354.7 kB / 452.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.2456, allocations: 229.9 kB / 452.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.2463, allocations: 404 kB / 452.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2475, allocations: 0.6376 MB / 453.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2475, allocations: 4 kB / 453.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001716/0.2492, allocations: 0.8265 MB / 454.4 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2493, allocations: 8.469 kB / 454.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2493, allocations: 8.219 kB / 454.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.2497, allocations: 121.6 kB / 454.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.2504, allocations: 167.7 kB / 454.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.2539, allocations: 3.517 MB / 458.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.2544, allocations: 91.38 kB / 458.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.2545, allocations: 31.94 kB / 458.3 MB, free: 12.08 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.0002545/0.2547, allocations: 193.7 kB / 458.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2548, allocations: 39.75 kB / 458.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.2565, allocations: 0.7414 MB / 459.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.2565, allocations: 8 kB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.2565, allocations: 4 kB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2565, allocations: 3.984 kB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.259, allocations: 1.301 MB / 460.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.259, allocations: 0 / 460.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.2596, allocations: 111.9 kB / 460.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.2599, allocations: 106 kB / 460.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.26, allocations: 15.98 kB / 460.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.2629, allocations: 3.077 MB / 463.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2629, allocations: 0 / 463.9 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.265, allocations: 1.133 MB / 465.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.265, allocations: 39.67 kB / 465.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.2651, allocations: 12 kB / 465.1 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.2655, allocations: 35.97 kB / 465.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.2657, allocations: 60.55 kB / 465.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.2657, allocations: 20 kB / 465.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.2659, allocations: 176.5 kB / 465.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2659, allocations: 0 / 465.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007482/0.2666, allocations: 227.5 kB / 465.6 MB, free: 4.492 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.0002488/0.2669, allocations: 147.1 kB / 465.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.2685, allocations: 0.849 MB / 466.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2685, allocations: 4 kB / 466.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.2693, allocations: 0.54 MB / 467.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.2698, allocations: 32.44 kB / 467.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.2719, allocations: 1.1 MB / 468.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2721, allocations: 269.5 kB / 468.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000318/0.2725, allocations: 76.27 kB / 468.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2726, allocations: 47.42 kB / 468.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2726, allocations: 4 kB / 468.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01377/0.2864, allocations: 7.053 MB / 475.7 MB, free: 10.34 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/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.492275188007625]