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.001058/0.001058, allocations: 111 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 211.9 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 50.55 MB / 409.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.0102/0.2384, allocations: 4.339 MB / 414.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.2434, allocations: 1.701 MB / 416 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.2438, allocations: 16 kB / 416 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.2479, allocations: 1.019 MB / 417 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.249, allocations: 258.1 kB / 417.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.2519, allocations: 0.7664 MB / 418 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.253, allocations: 0.6299 MB / 418.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.2544, allocations: 0.5169 MB / 419.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005701/0.255, allocations: 274.9 kB / 419.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000708/0.2557, allocations: 358.5 kB / 419.8 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.2559, allocations: 56 kB / 419.9 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.2567, allocations: 295.7 kB / 420.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.257, allocations: 143.5 kB / 420.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.2575, allocations: 322.3 kB / 420.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2593, allocations: 0.9768 MB / 421.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.2594, allocations: 4 kB / 421.6 MB, free: 6.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.691e-06/0.2594, allocations: 0 / 421.6 MB, free: 6.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2594, allocations: 3.938 kB / 421.6 MB, free: 6.055 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.006785/0.2662, allocations: 1.283 MB / 422.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.2663, allocations: 16.02 kB / 422.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/0.2693, allocations: 204.4 kB / 423.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.2696, allocations: 243.5 kB / 423.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.61e-05/0.2697, allocations: 54.38 kB / 423.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.2699, allocations: 72.38 kB / 423.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.2723, allocations: 0.7779 MB / 424.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.2723, allocations: 3.953 kB / 424.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.2725, allocations: 32 kB / 424.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.2725, allocations: 16 kB / 424.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.275, allocations: 0.6649 MB / 424.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006907/0.2819, allocations: 3.246 MB / 428.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.2857, allocations: 2.079 MB / 430.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.2867, allocations: 331.5 kB / 430.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.287, allocations: 178.9 kB / 430.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.287, allocations: 39.2 kB / 430.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.326e-06/0.2871, allocations: 4 kB / 430.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.004238/0.2913, allocations: 1.134 MB / 431.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.2914, allocations: 115.5 kB / 432.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.2919, allocations: 274.5 kB / 432.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.292, allocations: 41.7 kB / 432.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.2923, allocations: 300.4 kB / 432.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.2926, allocations: 261.7 kB / 432.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.2929, allocations: 134.6 kB / 433 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.2932, allocations: 351 kB / 433.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/0.2941, allocations: 229.9 kB / 433.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.2952, allocations: 397 kB / 434 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.2972, allocations: 0.6298 MB / 434.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2972, allocations: 4 kB / 434.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00284/0.3, allocations: 0.8304 MB / 435.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3001, allocations: 4.375 kB / 435.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3001, allocations: 8 kB / 435.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/0.3008, allocations: 125.6 kB / 435.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.302, allocations: 159.8 kB / 435.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/0.3075, allocations: 3.787 MB / 439.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.3083, allocations: 87.42 kB / 439.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.3084, allocations: 35.97 kB / 439.7 MB, free: 2.719 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.0003726/0.3088, allocations: 205.7 kB / 439.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.309, allocations: 43.72 kB / 439.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.3116, allocations: 0.7375 MB / 440.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3116, allocations: 3.984 kB / 440.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3116, allocations: 4 kB / 440.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3118, allocations: 128.7 kB / 440.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3119, allocations: 19.89 kB / 440.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.3126, allocations: 27.98 kB / 440.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.3128, allocations: 60.5 kB / 440.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003196/0.316, allocations: 0.8494 MB / 441.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002937/0.3189, allocations: 1.084 MB / 442.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007828/0.3198, allocations: 245.1 kB / 443.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3201, allocations: 186 kB / 443.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Backend: time 5.51e-07/0.3201, allocations: 0 / 443.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.3231, allocations: 0.8759 MB / 444.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.002673/0.3258, allocations: 1.467 MB / 445.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.02847/0.3543, allocations: 9.4 MB / 455 MB, free: 3.246 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