Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008969/0.000897, allocations: 195.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 226.6 MB / 244.3 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007261/0.0007262, allocations: 97.2 kB / 296.4 MB, free: 6.789 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002322, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2538, allocations: 51.29 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003085/0.2569, allocations: 3.679 MB / 411.2 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2586, allocations: 1.563 MB / 412.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.2587, allocations: 12 kB / 412.8 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.2591, allocations: 169.1 kB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.2594, allocations: 218.1 kB / 413.1 MB, free: 22.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.2604, allocations: 0.6228 MB / 413.8 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.2608, allocations: 0.5868 MB / 414.4 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.2619, allocations: 0.8374 MB / 415.2 MB, free: 20.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.2622, allocations: 239.1 kB / 415.4 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.2624, allocations: 306.7 kB / 415.7 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.786e-05/0.2625, allocations: 28 kB / 415.7 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.2628, allocations: 247.7 kB / 416 MB, free: 19.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.2629, allocations: 107.5 kB / 416.1 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.263, allocations: 133.4 kB / 416.2 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.2635, allocations: 0.7254 MB / 417 MB, free: 18.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2635, allocations: 0 / 417 MB, free: 18.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2635, allocations: 0 / 417 MB, free: 18.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2635, allocations: 3.938 kB / 417 MB, free: 18.31 MB / 298.7 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.003011/0.2665, allocations: 1.163 MB / 418.1 MB, free: 17.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2666, allocations: 8.031 kB / 418.1 MB, free: 17.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.2677, allocations: 215 kB / 418.3 MB, free: 16.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.2679, allocations: 243.8 kB / 418.6 MB, free: 16.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.268, allocations: 58 kB / 418.6 MB, free: 16.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.2681, allocations: 75.98 kB / 418.7 MB, free: 16.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2692, allocations: 0.7698 MB / 419.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2692, allocations: 0 / 419.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.2693, allocations: 32 kB / 419.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.2693, allocations: 16 kB / 419.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.2704, allocations: 0.6844 MB / 420.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.2735, allocations: 3.281 MB / 423.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.2751, allocations: 2.083 MB / 425.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.2756, allocations: 331.5 kB / 425.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.696e-05/0.2757, allocations: 182.8 kB / 426.1 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2758, allocations: 39.22 kB / 426.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.744e-06/0.2758, allocations: 0 / 426.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002201/0.278, allocations: 1.177 MB / 427.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.278, allocations: 111.5 kB / 427.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.2782, allocations: 270.5 kB / 427.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.2783, allocations: 37.7 kB / 427.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.2784, allocations: 299.3 kB / 428 MB, free: 6.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2785, allocations: 248.4 kB / 428.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.2785, allocations: 20 kB / 428.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.2786, allocations: 346.8 kB / 428.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.2791, allocations: 237.9 kB / 428.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.2796, allocations: 402.2 kB / 429.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.2801, allocations: 294.9 kB / 429.5 MB, free: 4.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2801, allocations: 3.953 kB / 429.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001306/0.2814, allocations: 0.8384 MB / 430.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2814, allocations: 8 kB / 430.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.2814, allocations: 4 kB / 430.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/0.2818, allocations: 121.7 kB / 430.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.2823, allocations: 175.7 kB / 430.6 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.2845, allocations: 3.409 MB / 434.1 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.2849, allocations: 91.11 kB / 434.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.285, allocations: 35.98 kB / 434.2 MB, free: 15.88 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.2853, allocations: 201.6 kB / 434.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.2854, allocations: 43.59 kB / 434.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.2869, allocations: 0.757 MB / 435.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.2869, allocations: 11.98 kB / 435.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2869, allocations: 4 kB / 435.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2869, allocations: 3.984 kB / 435.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.2894, allocations: 1.516 MB / 436.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2894, allocations: 0 / 436.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.2899, allocations: 123.8 kB / 436.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/0.2902, allocations: 109.6 kB / 436.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.2902, allocations: 12 kB / 437 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.2927, allocations: 3.105 MB / 440.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2927, allocations: 3.938 kB / 440.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.2947, allocations: 1.151 MB / 441.2 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.397e-05/0.2948, allocations: 128.5 kB / 441.3 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.2948, allocations: 16 kB / 441.4 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.2952, allocations: 27.98 kB / 441.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.2953, allocations: 56.64 kB / 441.4 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.2954, allocations: 23.98 kB / 441.5 MB, free: 8.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.2955, allocations: 186 kB / 441.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2955, allocations: 0 / 441.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006543/0.2962, allocations: 219.5 kB / 441.9 MB, free: 7.801 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.2964, allocations: 162.9 kB / 442 MB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.2979, allocations: 0.8991 MB / 442.9 MB, free: 6.707 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.298, allocations: 0 / 442.9 MB, free: 6.707 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007548/0.2987, allocations: 0.5643 MB / 443.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.2991, allocations: 44.55 kB / 443.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3012, allocations: 1.405 MB / 444.9 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.3017, allocations: 0.8577 MB / 445.8 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3019, allocations: 59.36 kB / 445.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3019, allocations: 0 / 445.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of Templates: time 0.0132/0.3151, allocations: 11.48 MB / 457.3 MB, free: 8.223 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches