Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 89.78 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.332e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.09988, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4227/0.5226, allocations: 81.46 MB / 450.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.523, allocations: 84.08 kB / 450.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07836/0.6013, allocations: 20.62 MB / 471.3 MB, free: 8.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.6014, allocations: 3.938 kB / 471.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.6014, allocations: 15.94 kB / 471.3 MB, free: 8.781 MB / 346.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.004203/0.6057, allocations: 0.9754 MB / 472.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6057, allocations: 8.031 kB / 472.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.6078, allocations: 211 kB / 472.5 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.6081, allocations: 239.8 kB / 472.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.6082, allocations: 50 kB / 472.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.6084, allocations: 75.95 kB / 472.8 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.6103, allocations: 0.7232 MB / 473.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.6104, allocations: 4 kB / 473.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.6105, allocations: 35.98 kB / 473.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.6105, allocations: 16 kB / 473.6 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.6123, allocations: 0.6143 MB / 474.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006859/0.6192, allocations: 3.15 MB / 477.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.6227, allocations: 2.037 MB / 479.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/0.6236, allocations: 288.3 kB / 479.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.6238, allocations: 105.8 kB / 479.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.6238, allocations: 39.34 kB / 479.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.518e-06/0.6239, allocations: 4.219 kB / 479.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001906/0.6258, allocations: 0.5911 MB / 480.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.6259, allocations: 115.5 kB / 480.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.6263, allocations: 246.7 kB / 480.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/0.6264, allocations: 37.73 kB / 480.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.6267, allocations: 361.9 kB / 481.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.627, allocations: 244.4 kB / 481.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.627, allocations: 16 kB / 481.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6272, allocations: 342.8 kB / 481.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.6278, allocations: 194 kB / 481.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.6286, allocations: 354.2 kB / 482.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.6293, allocations: 254 kB / 482.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6293, allocations: 0 / 482.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002175/0.6315, allocations: 0.7592 MB / 483.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.6316, allocations: 11.44 kB / 483.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6316, allocations: 4 kB / 483.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.6322, allocations: 129.7 kB / 483.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.6336, allocations: 155.8 kB / 483.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.6381, allocations: 3.42 MB / 487 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.6393, allocations: 91.19 kB / 487.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/0.6394, allocations: 28 kB / 487.1 MB, free: 7.82 MB / 362.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 () * 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.0002382/0.6396, allocations: 144.8 kB / 487.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.6398, allocations: 55.44 kB / 487.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.642, allocations: 0.6896 MB / 488 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.642, allocations: 8 kB / 488 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.642, allocations: 4 kB / 488 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.6421, allocations: 3.984 kB / 488 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.6457, allocations: 1.449 MB / 489.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6458, allocations: 0 / 489.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6469, allocations: 119.9 kB / 489.6 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/0.6474, allocations: 109.6 kB / 489.7 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.6475, allocations: 15.98 kB / 489.7 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.6512, allocations: 3.094 MB / 492.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6513, allocations: 3.953 kB / 492.8 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.6539, allocations: 1.06 MB / 493.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.6541, allocations: 128.5 kB / 494 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.6542, allocations: 15.94 kB / 494 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007548/0.655, allocations: 35.97 kB / 494 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6552, allocations: 56.64 kB / 494.1 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.6553, allocations: 20.06 kB / 494.1 MB, free: 424 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002988/0.6556, allocations: 191.1 kB / 494.3 MB, free: 232 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6556, allocations: 0 / 494.3 MB, free: 232 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001105/0.6567, allocations: 223.5 kB / 494.5 MB, free: 8 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.0003831/0.6571, allocations: 157.9 kB / 494.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.6592, allocations: 0.8255 MB / 495.5 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6593, allocations: 0 / 495.5 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6603, allocations: 0.5337 MB / 496 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.6608, allocations: 24.56 kB / 496.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.6637, allocations: 0.8617 MB / 496.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.6642, allocations: 0.8772 MB / 497.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.6646, allocations: 55.42 kB / 497.9 MB, free: 12.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6646, allocations: 3.938 kB / 497.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of Templates: time 0.02405/0.6887, allocations: 11.01 MB / 0.4969 GB, free: 1.523 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches