Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 104.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 194.9 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009449/0.0009449, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2055, allocations: 49.44 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004975/0.2105, allocations: 4.332 MB / 405.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.2127, allocations: 1.639 MB / 407.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.2129, allocations: 19.94 kB / 407.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.215, allocations: 1.021 MB / 408.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.2154, allocations: 242.2 kB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2168, allocations: 0.8033 MB / 409.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.2173, allocations: 0.6453 MB / 410.1 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.218, allocations: 0.505 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.2183, allocations: 279 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.2187, allocations: 358.6 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.2188, allocations: 63.94 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.2192, allocations: 271.7 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2193, allocations: 135.5 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.2196, allocations: 330.3 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008584/0.2204, allocations: 0.9552 MB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2205, allocations: 0 / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2205, allocations: 0 / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2205, allocations: 3.938 kB / 413 MB, free: 13.25 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.003557/0.224, allocations: 1.26 MB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2241, allocations: 8.031 kB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.2255, allocations: 211.9 kB / 414.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.2257, allocations: 231.6 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.2258, allocations: 54.38 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.2259, allocations: 76.28 kB / 414.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.2272, allocations: 0.774 MB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.2272, allocations: 4 kB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.2273, allocations: 28 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.2273, allocations: 20 kB / 415.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.2287, allocations: 0.6649 MB / 416.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.2324, allocations: 3.091 MB / 419.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.2347, allocations: 2.072 MB / 421.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.2354, allocations: 335.6 kB / 421.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-05/0.2355, allocations: 97.73 kB / 421.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2355, allocations: 47.22 kB / 421.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.034e-06/0.2355, allocations: 0 / 421.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002541/0.2381, allocations: 1.141 MB / 423.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.2382, allocations: 107.5 kB / 423.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2384, allocations: 274.5 kB / 423.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.2385, allocations: 41.7 kB / 423.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2386, allocations: 295.4 kB / 423.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.2388, allocations: 248.4 kB / 424 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.239, allocations: 134.6 kB / 424.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2391, allocations: 354.7 kB / 424.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005084/0.2396, allocations: 229.9 kB / 424.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.2402, allocations: 386.2 kB / 425.1 MB, free: 268 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2414, allocations: 0.6337 MB / 425.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2414, allocations: 0 / 425.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001586/0.243, allocations: 0.8383 MB / 426.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.243, allocations: 12.06 kB / 426.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.243, allocations: 7.984 kB / 426.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.2434, allocations: 117.6 kB / 426.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.244, allocations: 159.8 kB / 426.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.2471, allocations: 3.789 MB / 430.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.2475, allocations: 83.2 kB / 430.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.2476, allocations: 35.98 kB / 430.8 MB, free: 10.25 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.0002232/0.2478, allocations: 205.6 kB / 431 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.2479, allocations: 43.44 kB / 431 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2495, allocations: 0.7376 MB / 431.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2495, allocations: 7.984 kB / 431.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2495, allocations: 0 / 431.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.2496, allocations: 132.4 kB / 431.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.2497, allocations: 15.94 kB / 431.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.2501, allocations: 31.97 kB / 431.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2502, allocations: 52.56 kB / 432 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001768/0.252, allocations: 0.8572 MB / 432.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001681/0.2537, allocations: 1.079 MB / 433.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004696/0.2541, allocations: 249 kB / 434.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.2543, allocations: 193.9 kB / 434.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of Backend: time 2.01e-07/0.2543, allocations: 0 / 434.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.256, allocations: 0.8685 MB / 435.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of SimCode: time 0.001432/0.2574, allocations: 1.451 MB / 436.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of Templates: time 0.01441/0.2719, allocations: 9.242 MB / 445.9 MB, free: 10.95 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches