Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 109.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2164, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005212/0.2216, allocations: 4.34 MB / 414.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2243, allocations: 1.709 MB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.2246, allocations: 12 kB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.2268, allocations: 1.019 MB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.2274, allocations: 258.2 kB / 417.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2288, allocations: 0.7625 MB / 418 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.2295, allocations: 0.6377 MB / 418.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.2302, allocations: 0.5011 MB / 419.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.2306, allocations: 282.9 kB / 419.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.2309, allocations: 358.5 kB / 419.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.531e-05/0.231, allocations: 56 kB / 419.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.2315, allocations: 295.7 kB / 420.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2316, allocations: 135.5 kB / 420.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.2319, allocations: 326.4 kB / 420.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.2328, allocations: 0.9707 MB / 421.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2328, allocations: 4 kB / 421.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2328, allocations: 0 / 421.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2329, allocations: 0 / 421.6 MB, free: 5.906 MB / 334.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.003572/0.2364, allocations: 1.261 MB / 422.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2365, allocations: 12.03 kB / 422.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.2379, allocations: 211.9 kB / 423 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2381, allocations: 247.4 kB / 423.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.2381, allocations: 54.38 kB / 423.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2382, allocations: 76.38 kB / 423.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.2395, allocations: 0.7701 MB / 424.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2395, allocations: 0 / 424.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.2396, allocations: 32 kB / 424.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2396, allocations: 20 kB / 424.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2409, allocations: 0.661 MB / 424.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003964/0.2449, allocations: 3.249 MB / 428.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.2471, allocations: 2.079 MB / 430.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.2477, allocations: 327.8 kB / 430.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.2478, allocations: 178.8 kB / 430.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2479, allocations: 43.22 kB / 430.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.014e-06/0.2479, allocations: 4 kB / 430.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002457/0.2503, allocations: 1.13 MB / 431.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2504, allocations: 107.5 kB / 432 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.2507, allocations: 282.5 kB / 432.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.2507, allocations: 37.7 kB / 432.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.2509, allocations: 295.6 kB / 432.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.2511, allocations: 248.4 kB / 432.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.2513, allocations: 138.5 kB / 433 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2514, allocations: 350.7 kB / 433.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.2519, allocations: 233.9 kB / 433.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.2525, allocations: 382.3 kB / 433.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.2536, allocations: 0.6337 MB / 434.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2536, allocations: 0 / 434.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001525/0.2551, allocations: 0.8344 MB / 435.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2551, allocations: 4 kB / 435.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2551, allocations: 4 kB / 435.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.2555, allocations: 129.7 kB / 435.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.2562, allocations: 155.8 kB / 435.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.2593, allocations: 3.786 MB / 439.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.2598, allocations: 95.22 kB / 439.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.2598, allocations: 28 kB / 439.6 MB, free: 2.617 MB / 350.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.0002298/0.2601, allocations: 197.6 kB / 439.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2602, allocations: 39.53 kB / 439.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.2616, allocations: 0.753 MB / 440.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.2617, allocations: 3.984 kB / 440.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2617, allocations: 0 / 440.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.2618, allocations: 116.5 kB / 440.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.2618, allocations: 23.92 kB / 440.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.2622, allocations: 27.98 kB / 440.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.2623, allocations: 52.56 kB / 440.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001703/0.264, allocations: 0.8574 MB / 441.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001593/0.2657, allocations: 1.076 MB / 442.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004353/0.2661, allocations: 249 kB / 443 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.2663, allocations: 190 kB / 443.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Backend: time 4.2e-07/0.2663, allocations: 0 / 443.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.268, allocations: 0.8837 MB / 444 MB, free: 14.06 MB / 366.1 MB Notification: Performance of SimCode: time 0.001519/0.2695, allocations: 1.446 MB / 445.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01555/0.2851, allocations: 9.389 MB / 454.9 MB, free: 3.18 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches