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.001197/0.001197, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001166, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.94 kB / 306.3 MB, free: 1.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08375/0.08492, allocations: 50.54 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005337/0.09029, allocations: 4.336 MB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.09302, allocations: 1.709 MB / 362.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/0.09342, allocations: 12 kB / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.09564, allocations: 0.9496 MB / 363.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.09642, allocations: 210.7 kB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.09797, allocations: 0.7592 MB / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000752/0.09873, allocations: 0.6102 MB / 365.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000811/0.09955, allocations: 469.7 kB / 365.9 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.09998, allocations: 262.9 kB / 366.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.1004, allocations: 342.5 kB / 366.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.1005, allocations: 47.98 kB / 366.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.1011, allocations: 275.7 kB / 366.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1012, allocations: 127.5 kB / 366.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.1015, allocations: 306.4 kB / 367.2 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1025, allocations: 0.958 MB / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1025, allocations: 0 / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1025, allocations: 0 / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.1026, allocations: 0 / 368.1 MB, free: 3.113 MB / 302.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.003935/0.1065, allocations: 1.272 MB / 369.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1066, allocations: 8.031 kB / 369.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.108, allocations: 204 kB / 369.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1083, allocations: 254.7 kB / 369.9 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.1084, allocations: 54.38 kB / 369.9 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.1085, allocations: 72.38 kB / 370 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.1099, allocations: 0.7663 MB / 370.8 MB, free: 400 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.11, allocations: 7.906 kB / 370.8 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.11, allocations: 28 kB / 370.8 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.1101, allocations: 16 kB / 370.8 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1622/0.2723, allocations: 0.6691 MB / 371.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/0.2765, allocations: 3.261 MB / 374.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.2787, allocations: 2.077 MB / 376.8 MB, free: 16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.2793, allocations: 318.7 kB / 377.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.2794, allocations: 183.4 kB / 377.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.2795, allocations: 42.97 kB / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.2795, allocations: 0 / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00241/0.2819, allocations: 1.137 MB / 378.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2819, allocations: 116.5 kB / 378.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.2822, allocations: 273.8 kB / 378.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.2822, allocations: 37.11 kB / 378.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2824, allocations: 297.9 kB / 379.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2825, allocations: 242.3 kB / 379.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.2827, allocations: 139 kB / 379.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.2828, allocations: 350.9 kB / 379.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.2832, allocations: 227.3 kB / 380.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2838, allocations: 384.8 kB / 380.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.2848, allocations: 0.6398 MB / 381.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2848, allocations: 1.219 kB / 381.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001494/0.2863, allocations: 0.8285 MB / 382 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2863, allocations: 15.94 kB / 382 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2863, allocations: 3.938 kB / 382 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003892/0.2867, allocations: 120.5 kB / 382.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.2873, allocations: 160.9 kB / 382.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.2895, allocations: 3.408 MB / 385.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.29, allocations: 89.7 kB / 385.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.2901, allocations: 33.17 kB / 385.8 MB, free: 9.648 MB / 302.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.0002223/0.2903, allocations: 202.4 kB / 386 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.2904, allocations: 43.95 kB / 386 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.2919, allocations: 0.7434 MB / 386.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.2919, allocations: 11.19 kB / 386.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2919, allocations: 3 kB / 386.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2919, allocations: 4.844 kB / 386.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.2943, allocations: 1.49 MB / 388.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.2943, allocations: 1.906 kB / 388.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.2948, allocations: 115.8 kB / 388.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002872/0.2951, allocations: 111.6 kB / 388.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.2952, allocations: 14.62 kB / 388.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.2972, allocations: 3.109 MB / 391.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2972, allocations: 0 / 391.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.2991, allocations: 1.12 MB / 392.8 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.2992, allocations: 124.5 kB / 392.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.2992, allocations: 20.44 kB / 392.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.2996, allocations: 29.53 kB / 392.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2998, allocations: 50.97 kB / 393 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.2998, allocations: 19.05 kB / 393 MB, free: 4.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.3, allocations: 191 kB / 393.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3, allocations: 0 / 393.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00084/0.3008, allocations: 217.8 kB / 393.4 MB, free: 4.418 MB / 302.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.0002903/0.3011, allocations: 157.2 kB / 393.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.3035, allocations: 0.8839 MB / 394.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3036, allocations: 0 / 394.4 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3046, allocations: 0.5585 MB / 395 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.305, allocations: 40.44 kB / 395 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3073, allocations: 1.387 MB / 396.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3077, allocations: 0.8667 MB / 397.3 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.3081, allocations: 81.22 kB / 397.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3082, allocations: 45.36 kB / 397.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3082, allocations: 0 / 397.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of Templates: time 0.01162/0.3199, allocations: 5.869 MB / 403.3 MB, free: 15.4 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/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