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.001483/0.001483, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000805/0.000805, allocations: 91.61 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.221e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2969/0.4031, allocations: 81.03 MB / 444.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.4033, allocations: 83.83 kB / 444.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04661/0.45, allocations: 20.39 MB / 464.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.45, allocations: 0 / 464.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.45, allocations: 12 kB / 464.6 MB, free: 14.43 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.002616/0.4527, allocations: 0.9816 MB / 465.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4527, allocations: 8.031 kB / 465.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.454, allocations: 203.8 kB / 465.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4543, allocations: 243.7 kB / 466 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.4543, allocations: 24 kB / 466.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/0.4544, allocations: 43.95 kB / 466.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009253/0.4553, allocations: 0.5744 MB / 466.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009917/0.4563, allocations: 0.6205 MB / 467.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.4564, allocations: 0 / 467.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.4564, allocations: 0 / 467.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4565, allocations: 20 kB / 467.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.4602, allocations: 3.024 MB / 470.3 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.4621, allocations: 2.005 MB / 472.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.4625, allocations: 269.8 kB / 472.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.4626, allocations: 104.6 kB / 472.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4626, allocations: 41.91 kB / 472.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.4626, allocations: 0 / 472.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.001468/0.4641, allocations: 0.6721 MB / 473.4 MB, free: 6.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.4642, allocations: 123.6 kB / 473.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.4644, allocations: 216.3 kB / 473.8 MB, free: 6.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/0.4644, allocations: 25.7 kB / 473.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4646, allocations: 299.5 kB / 474.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.4648, allocations: 232.4 kB / 474.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.4648, allocations: 0 / 474.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4649, allocations: 346.8 kB / 474.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.4652, allocations: 186.6 kB / 474.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.4656, allocations: 330.7 kB / 475.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008492/0.4664, allocations: 376.3 kB / 475.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4665, allocations: 0 / 475.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001556/0.468, allocations: 0.8216 MB / 476.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.468, allocations: 8 kB / 476.3 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4681, allocations: 4 kB / 476.3 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.4684, allocations: 125.6 kB / 476.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.4691, allocations: 167.7 kB / 476.6 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.4718, allocations: 3.281 MB / 479.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.4724, allocations: 75.25 kB / 480 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.4724, allocations: 31.98 kB / 480 MB, free: 15.51 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.0001389/0.4726, allocations: 124.8 kB / 480.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.4727, allocations: 39.53 kB / 480.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.4744, allocations: 0.756 MB / 480.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4744, allocations: 8 kB / 480.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4744, allocations: 4 kB / 480.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.4745, allocations: 3.984 kB / 480.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.4769, allocations: 1.434 MB / 482.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4769, allocations: 8 kB / 482.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.4775, allocations: 111.9 kB / 482.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.4777, allocations: 105.6 kB / 482.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.4778, allocations: 7.984 kB / 482.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.4802, allocations: 2.974 MB / 485.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4802, allocations: 4.031 kB / 485.6 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.4822, allocations: 1.126 MB / 486.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.4823, allocations: 124.5 kB / 486.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.4824, allocations: 0 / 486.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.4828, allocations: 23.97 kB / 486.9 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.483, allocations: 52.73 kB / 486.9 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.483, allocations: 31.92 kB / 486.9 MB, free: 8.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.4832, allocations: 168.5 kB / 487.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4832, allocations: 0 / 487.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008249/0.484, allocations: 187.5 kB / 487.3 MB, free: 7.879 MB / 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.0003061/0.4843, allocations: 147.1 kB / 487.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4855, allocations: 0.7582 MB / 488.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4855, allocations: 0 / 488.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.4862, allocations: 0.4992 MB / 488.7 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4865, allocations: 24.42 kB / 488.7 MB, free: 6.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4881, allocations: 0.7853 MB / 489.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4885, allocations: 0.8775 MB / 490.4 MB, free: 4.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.4889, allocations: 88.2 kB / 490.5 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4891, allocations: 43.42 kB / 490.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4891, allocations: 0 / 490.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of Templates: time 0.009784/0.4989, allocations: 5.287 MB / 495.8 MB, free: 15.26 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