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.001665/0.001665, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002235/0.002235, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2487, allocations: 50.54 MB / 409.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005776/0.2546, allocations: 4.335 MB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.2578, allocations: 1.713 MB / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.258, allocations: 12 kB / 415.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.2603, allocations: 1.022 MB / 416.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006426/0.2609, allocations: 254.2 kB / 416.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.2625, allocations: 0.759 MB / 417.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.2631, allocations: 0.6299 MB / 418 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.2639, allocations: 0.5167 MB / 418.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.2642, allocations: 274.9 kB / 418.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.2646, allocations: 354.5 kB / 419.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.2647, allocations: 56 kB / 419.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.2652, allocations: 295.7 kB / 419.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2654, allocations: 139.5 kB / 419.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.2656, allocations: 334.3 kB / 419.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000934/0.2666, allocations: 0.9669 MB / 420.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.2666, allocations: 4 kB / 420.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2666, allocations: 3.984 kB / 420.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.2666, allocations: 0 / 420.9 MB, free: 5.938 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.003627/0.2703, allocations: 1.26 MB / 422.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2703, allocations: 8.031 kB / 422.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.2717, allocations: 211.9 kB / 422.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.2719, allocations: 239.5 kB / 422.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.272, allocations: 62.31 kB / 422.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2721, allocations: 72.38 kB / 422.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2735, allocations: 0.7702 MB / 423.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2735, allocations: 0 / 423.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/0.2736, allocations: 32 kB / 423.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2736, allocations: 16 kB / 423.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2749, allocations: 0.6649 MB / 424.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.2788, allocations: 3.249 MB / 427.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.2812, allocations: 2.083 MB / 429.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.2818, allocations: 323.5 kB / 429.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.2819, allocations: 179.1 kB / 430 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.282, allocations: 43.22 kB / 430.1 MB, free: 12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.282, allocations: 3.938 kB / 430.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002456/0.2845, allocations: 1.134 MB / 431.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2845, allocations: 111.5 kB / 431.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.2848, allocations: 274.5 kB / 431.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.2849, allocations: 37.7 kB / 431.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.285, allocations: 295.4 kB / 431.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2852, allocations: 252.4 kB / 432.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.2854, allocations: 138.6 kB / 432.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2856, allocations: 350.7 kB / 432.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.286, allocations: 225.9 kB / 432.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.2866, allocations: 389 kB / 433.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2877, allocations: 0.6376 MB / 433.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2877, allocations: 4 kB / 433.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001477/0.2892, allocations: 0.8226 MB / 434.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2892, allocations: 8 kB / 434.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2892, allocations: 8.203 kB / 434.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.2896, allocations: 121.6 kB / 434.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.2902, allocations: 159.7 kB / 435 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.2933, allocations: 3.782 MB / 438.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.2938, allocations: 91.16 kB / 438.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.2939, allocations: 31.94 kB / 438.9 MB, free: 2.66 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.0002448/0.2941, allocations: 197.7 kB / 439.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.2942, allocations: 43.52 kB / 439.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.2957, allocations: 0.7413 MB / 439.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2957, allocations: 8 kB / 439.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2957, allocations: 4 kB / 439.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2957, allocations: 11.97 kB / 439.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.298, allocations: 1.481 MB / 441.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2981, allocations: 8 kB / 441.4 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.2986, allocations: 115.8 kB / 441.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.2988, allocations: 117.6 kB / 441.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.2989, allocations: 16 kB / 441.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.3015, allocations: 3.342 MB / 445 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3015, allocations: 0 / 445 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3033, allocations: 1.121 MB / 446.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.3034, allocations: 128.5 kB / 446.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.3035, allocations: 15.94 kB / 446.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3038, allocations: 32.05 kB / 446.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.304, allocations: 52.58 kB / 446.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.304, allocations: 19.94 kB / 446.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.3042, allocations: 194 kB / 446.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3042, allocations: 4 kB / 446.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007375/0.3049, allocations: 211.4 kB / 446.7 MB, free: 10.41 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.0003005/0.3053, allocations: 170.7 kB / 446.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3067, allocations: 0.8757 MB / 447.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3067, allocations: 0 / 447.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.3075, allocations: 0.5642 MB / 448.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.308, allocations: 40.5 kB / 448.4 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.3097, allocations: 1.107 MB / 449.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.3102, allocations: 0.8616 MB / 450.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.3105, allocations: 80.36 kB / 450.4 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3107, allocations: 43.42 kB / 450.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3107, allocations: 0 / 450.5 MB, free: 6.555 MB / 366.1 MB Notification: Performance of Templates: time 0.01241/0.3231, allocations: 6.264 MB / 456.7 MB, free: 308 kB / 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/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