Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001359/0.001359, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007805/0.0007805, allocations: 98.62 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.505e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.0805, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.3394, allocations: 81.46 MB / 451.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3396, allocations: 81.52 kB / 451.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04683/0.3864, allocations: 20.63 MB / 472.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3865, allocations: 4 kB / 472.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.3865, allocations: 12 kB / 472.2 MB, free: 8.48 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.002524/0.389, allocations: 0.9715 MB / 473.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3891, allocations: 8.031 kB / 473.2 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.3904, allocations: 207 kB / 473.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3906, allocations: 239.8 kB / 473.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.3907, allocations: 54 kB / 473.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.3908, allocations: 75.95 kB / 473.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.392, allocations: 0.7309 MB / 474.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.392, allocations: 4 kB / 474.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.3921, allocations: 28 kB / 474.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3921, allocations: 23.94 kB / 474.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3931, allocations: 0.6104 MB / 475.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.3972, allocations: 3.15 MB / 478.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.3993, allocations: 2.029 MB / 480.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.3998, allocations: 304 kB / 480.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3999, allocations: 98.09 kB / 480.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4, allocations: 47.33 kB / 480.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.654e-06/0.4, allocations: 3.938 kB / 480.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001456/0.4015, allocations: 0.5833 MB / 481.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.4015, allocations: 115.5 kB / 481.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.4018, allocations: 254.7 kB / 481.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.4018, allocations: 37.7 kB / 481.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.402, allocations: 291.5 kB / 482 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4022, allocations: 244.4 kB / 482.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.4022, allocations: 20 kB / 482.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4023, allocations: 346.8 kB / 482.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.4027, allocations: 202 kB / 482.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.4031, allocations: 346.2 kB / 483.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.4035, allocations: 254 kB / 483.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4035, allocations: 4 kB / 483.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001299/0.4048, allocations: 0.7706 MB / 484.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4049, allocations: 8 kB / 484.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4049, allocations: 4 kB / 484.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.4053, allocations: 125.8 kB / 484.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.406, allocations: 163.8 kB / 484.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.4089, allocations: 3.401 MB / 487.9 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.4095, allocations: 99.09 kB / 488 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.4096, allocations: 31.98 kB / 488 MB, free: 7.559 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.0001482/0.4097, allocations: 148.9 kB / 488.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.4098, allocations: 43.48 kB / 488.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.4111, allocations: 0.6973 MB / 488.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4112, allocations: 8 kB / 488.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4112, allocations: 0 / 488.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.4112, allocations: 11.98 kB / 488.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.4134, allocations: 1.445 MB / 490.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4134, allocations: 0 / 490.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.414, allocations: 111.9 kB / 490.5 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.4142, allocations: 113.6 kB / 490.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.4143, allocations: 19.98 kB / 490.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.4168, allocations: 3.098 MB / 493.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4168, allocations: 7.891 kB / 493.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.4183, allocations: 1.056 MB / 494.8 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4184, allocations: 128.4 kB / 494.9 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.4185, allocations: 15.94 kB / 494.9 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.4189, allocations: 31.97 kB / 494.9 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.419, allocations: 56.77 kB / 495 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.419, allocations: 20 kB / 495 MB, free: 156 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.4192, allocations: 191.1 kB / 495.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4192, allocations: 0 / 495.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007596/0.42, allocations: 223.5 kB / 495.4 MB, free: 15.75 MB / 378.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.0002742/0.4203, allocations: 155.1 kB / 495.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4215, allocations: 0.8294 MB / 496.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4215, allocations: 0 / 496.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.4221, allocations: 0.5298 MB / 496.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.4224, allocations: 24.56 kB / 497 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4241, allocations: 0.8288 MB / 497.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.4245, allocations: 0.881 MB / 498.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00043/0.425, allocations: 88.34 kB / 498.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.4251, allocations: 39.42 kB / 498.8 MB, free: 12.26 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4251, allocations: 4 kB / 498.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01058/0.4357, allocations: 5.755 MB / 0.4927 GB, free: 6.496 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches