Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001622, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 97.88 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.395e-05/1.398e-05, allocations: 0 / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08589, allocations: 51.49 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/0.3878, allocations: 82.7 MB / 477.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.3881, allocations: 86.72 kB / 478 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05441/0.4426, allocations: 21.78 MB / 499.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4426, allocations: 0 / 499.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.4426, allocations: 12 kB / 499.8 MB, free: 9.18 MB / 362.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.0027/0.4453, allocations: 0.9827 MB / 0.489 GB, free: 8.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4454, allocations: 12.03 kB / 0.489 GB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.4467, allocations: 206.2 kB / 0.4892 GB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.4469, allocations: 246.9 kB / 0.4894 GB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.447, allocations: 24.86 kB / 0.4895 GB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.4471, allocations: 44 kB / 0.4895 GB, free: 7.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009081/0.448, allocations: 0.5689 MB / 0.4901 GB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.449, allocations: 0.6273 MB / 0.4907 GB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.449, allocations: 8 kB / 0.4907 GB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.4491, allocations: 0 / 0.4907 GB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.4491, allocations: 16 kB / 0.4907 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.4532, allocations: 3.198 MB / 0.4938 GB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.4552, allocations: 2.003 MB / 0.4958 GB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.4556, allocations: 272 kB / 0.496 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.4558, allocations: 179 kB / 0.4962 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4558, allocations: 47.33 kB / 0.4963 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.044e-06/0.4559, allocations: 0 / 0.4963 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002164/0.458, allocations: 0.7667 MB / 0.497 GB, free: 15.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4581, allocations: 115.5 kB / 0.4971 GB, free: 15.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.4583, allocations: 216.4 kB / 0.4973 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.4584, allocations: 25.7 kB / 0.4973 GB, free: 15.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4585, allocations: 295.5 kB / 0.4976 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.4587, allocations: 232.4 kB / 0.4979 GB, free: 14.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.4587, allocations: 0 / 0.4979 GB, free: 14.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4589, allocations: 346.8 kB / 0.4982 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4592, allocations: 194.6 kB / 0.4984 GB, free: 14.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.4596, allocations: 322.7 kB / 0.4987 GB, free: 13.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.4611, allocations: 468.2 kB / 0.4991 GB, free: 13.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4611, allocations: 0 / 0.4991 GB, free: 13.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002264/0.4634, allocations: 0.9113 MB / 0.5 GB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4634, allocations: 8 kB / 0.5 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4634, allocations: 5.875 kB / 0.5 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.4638, allocations: 121.7 kB / 0.5001 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.4646, allocations: 159.8 kB / 0.5003 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.4675, allocations: 3.291 MB / 0.5035 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.468, allocations: 75.25 kB / 0.5036 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.4681, allocations: 27.98 kB / 0.5036 GB, free: 8.672 MB / 378.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.0001442/0.4682, allocations: 128.8 kB / 0.5037 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/0.4683, allocations: 39.53 kB / 0.5038 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.4706, allocations: 0.846 MB / 0.5046 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4706, allocations: 4 kB / 0.5046 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4706, allocations: 7.938 kB / 0.5046 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4706, allocations: 3.984 kB / 0.5046 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.4737, allocations: 1.532 MB / 0.5061 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4738, allocations: 0 / 0.5061 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.4743, allocations: 115.9 kB / 0.5062 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.4746, allocations: 113.6 kB / 0.5063 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4746, allocations: 1.688 kB / 0.5063 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.477, allocations: 2.982 MB / 0.5092 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.477, allocations: 4.031 kB / 0.5092 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.4795, allocations: 1.208 MB / 0.5104 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.4796, allocations: 132.5 kB / 0.5105 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.491e-05/0.4796, allocations: 0 / 0.5105 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.48, allocations: 23.97 kB / 0.5106 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4801, allocations: 60.72 kB / 0.5106 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.4802, allocations: 20 kB / 0.5106 GB, free: 1.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.4803, allocations: 160.5 kB / 0.5108 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4803, allocations: 0 / 0.5108 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007676/0.4811, allocations: 207.5 kB / 0.511 GB, free: 0.7422 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.000264/0.4814, allocations: 151 kB / 0.5111 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.4825, allocations: 0.7701 MB / 0.5119 GB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4825, allocations: 0 / 0.5119 GB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.4831, allocations: 0.4992 MB / 0.5124 GB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.4834, allocations: 16.75 kB / 0.5124 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.4849, allocations: 0.793 MB / 0.5132 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4853, allocations: 0.8775 MB / 0.514 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00041/0.4858, allocations: 80.33 kB / 0.5141 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4859, allocations: 43.42 kB / 0.5141 GB, free: 13.42 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4859, allocations: 0 / 0.5141 GB, free: 13.42 MB / 394.7 MB Notification: Performance of Templates: time 0.01011/0.496, allocations: 5.342 MB / 0.5194 GB, free: 8.156 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches