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.001519/0.001519, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 92.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.324e-05, allocations: 7.984 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 47.56 MB / 362.3 MB, free: 45.88 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5606, allocations: 80.8 MB / 443.2 MB, free: 5.512 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.561, allocations: 83.94 kB / 443.2 MB, free: 5.43 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08132/0.6423, allocations: 20.38 MB / 463.6 MB, free: 0.8672 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6424, allocations: 0 / 463.6 MB, free: 0.8672 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.6424, allocations: 8 kB / 463.6 MB, free: 0.8594 MB / 347.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.00445/0.6469, allocations: 0.9803 MB / 464.6 MB, free: 15.84 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.647, allocations: 12.03 kB / 464.6 MB, free: 15.82 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.6491, allocations: 208.8 kB / 464.8 MB, free: 15.62 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.6495, allocations: 239.8 kB / 465.1 MB, free: 15.35 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.6496, allocations: 24 kB / 465.1 MB, free: 15.32 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.6498, allocations: 47.95 kB / 465.1 MB, free: 15.28 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001798/0.6516, allocations: 0.5702 MB / 465.7 MB, free: 14.71 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.6534, allocations: 0.6177 MB / 466.3 MB, free: 14.07 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.6535, allocations: 8 kB / 466.3 MB, free: 14.07 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.6536, allocations: 0 / 466.3 MB, free: 14.07 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.6536, allocations: 16 kB / 466.3 MB, free: 14.05 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007235/0.6609, allocations: 3.02 MB / 469.4 MB, free: 10.79 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.6643, allocations: 2.016 MB / 471.4 MB, free: 8.469 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.6652, allocations: 268 kB / 471.6 MB, free: 8.203 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.6654, allocations: 105.9 kB / 471.7 MB, free: 8.082 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.6655, allocations: 39.33 kB / 471.8 MB, free: 8.035 MB / 363.1 MB Notification: Performance of pre-optimization done (n=72): time 3.567e-06/0.6655, allocations: 5.031 kB / 471.8 MB, free: 8.031 MB / 363.1 MB Notification: Performance of matching and sorting (n=72): time 0.002725/0.6682, allocations: 0.681 MB / 472.5 MB, free: 7.336 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.6684, allocations: 107.8 kB / 472.6 MB, free: 7.207 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.6688, allocations: 220.4 kB / 472.8 MB, free: 6.98 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/0.6688, allocations: 29.64 kB / 472.8 MB, free: 6.945 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.6691, allocations: 357.9 kB / 473.2 MB, free: 6.59 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.6694, allocations: 240.4 kB / 473.4 MB, free: 6.352 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.6695, allocations: 0 / 473.4 MB, free: 6.352 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6697, allocations: 338.8 kB / 473.7 MB, free: 6.012 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.6702, allocations: 182.6 kB / 473.9 MB, free: 5.832 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.6709, allocations: 330.7 kB / 474.2 MB, free: 5.453 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.6725, allocations: 374.3 kB / 474.6 MB, free: 5.09 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.6726, allocations: 0 / 474.6 MB, free: 5.09 MB / 363.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002952/0.6755, allocations: 0.8216 MB / 475.4 MB, free: 4.254 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.6756, allocations: 12.03 kB / 475.4 MB, free: 4.242 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6756, allocations: 4 kB / 475.4 MB, free: 4.238 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.6762, allocations: 114.8 kB / 475.5 MB, free: 4.121 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.6776, allocations: 163.8 kB / 475.7 MB, free: 3.961 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.6822, allocations: 3.276 MB / 479 MB, free: 468 kB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.6832, allocations: 75.31 kB / 479 MB, free: 392 kB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.6834, allocations: 39.98 kB / 479.1 MB, free: 352 kB / 363.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 () * 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.0002216/0.6836, allocations: 120.7 kB / 479.2 MB, free: 224 kB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.6838, allocations: 39.53 kB / 479.2 MB, free: 184 kB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.6867, allocations: 0.76 MB / 480 MB, free: 15.4 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6867, allocations: 8 kB / 480 MB, free: 15.39 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6867, allocations: 0 / 480 MB, free: 15.39 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.6868, allocations: 7.984 kB / 480 MB, free: 15.39 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.6912, allocations: 1.43 MB / 481.5 MB, free: 13.91 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.6913, allocations: 3.984 kB / 481.5 MB, free: 13.91 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.6923, allocations: 121.1 kB / 481.6 MB, free: 13.79 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.6929, allocations: 110.6 kB / 481.7 MB, free: 13.68 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.693, allocations: 4 kB / 481.7 MB, free: 13.67 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.6966, allocations: 2.966 MB / 484.7 MB, free: 10.48 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6967, allocations: 0 / 484.7 MB, free: 10.48 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.7, allocations: 1.126 MB / 485.8 MB, free: 9.324 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.7003, allocations: 128.5 kB / 485.9 MB, free: 9.18 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.7004, allocations: 4 kB / 485.9 MB, free: 9.176 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.7011, allocations: 28.03 kB / 485.9 MB, free: 9.148 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.7013, allocations: 52.67 kB / 486 MB, free: 9.094 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.7014, allocations: 23.98 kB / 486 MB, free: 9.07 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.7016, allocations: 168.4 kB / 486.2 MB, free: 8.906 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7016, allocations: 0 / 486.2 MB, free: 8.906 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001194/0.7029, allocations: 187.5 kB / 486.4 MB, free: 8.723 MB / 379.1 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.0003715/0.7032, allocations: 156 kB / 486.5 MB, free: 8.559 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.7052, allocations: 0.7549 MB / 487.3 MB, free: 7.785 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.7052, allocations: 4.375 kB / 487.3 MB, free: 7.781 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.7063, allocations: 0.5021 MB / 487.8 MB, free: 7.258 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.7068, allocations: 16.44 kB / 487.8 MB, free: 7.242 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.7096, allocations: 0.8143 MB / 488.6 MB, free: 6.395 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.7103, allocations: 0.8814 MB / 489.5 MB, free: 5.484 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.7107, allocations: 51.42 kB / 489.5 MB, free: 5.434 MB / 379.1 MB Notification: Performance of SimCode: time 1.323e-06/0.7107, allocations: 3.938 kB / 489.5 MB, free: 5.43 MB / 379.1 MB Notification: Performance of Templates: time 0.02354/0.7343, allocations: 10.92 MB / 0.4887 GB, free: 10.52 MB / 395.1 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