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.001184/0.001184, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008269/0.000827, allocations: 102.4 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002092, allocations: 8 kB / 358 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2136, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09206/0.3057, allocations: 83.42 MB / 492.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.306, allocations: 98.72 kB / 492.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04862/0.3546, allocations: 22.09 MB / 0.503 GB, free: 0.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3546, allocations: 3.938 kB / 0.503 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.3547, allocations: 8 kB / 0.503 GB, free: 0.7383 MB / 378.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.1701/0.5248, allocations: 1.005 MB / 0.504 GB, free: 85.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5248, allocations: 9.031 kB / 0.504 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.5264, allocations: 211.1 kB / 0.5042 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.5267, allocations: 235.5 kB / 0.5044 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.5268, allocations: 54.78 kB / 0.5044 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.527, allocations: 77.98 kB / 0.5045 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.5288, allocations: 0.7697 MB / 0.5053 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.5288, allocations: 1.312 kB / 0.5053 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.5289, allocations: 29.69 kB / 0.5053 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.5289, allocations: 21.62 kB / 0.5053 GB, free: 84.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.5305, allocations: 0.6877 MB / 0.506 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.5351, allocations: 3.314 MB / 0.5092 GB, free: 83.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.537, allocations: 2.086 MB / 0.5113 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.5372, allocations: 183.4 kB / 0.5114 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.5372, allocations: 40.53 kB / 0.5115 GB, free: 81.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.5373, allocations: 2.969 kB / 0.5115 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002523/0.5398, allocations: 1.147 MB / 0.5126 GB, free: 80.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.5398, allocations: 116.2 kB / 0.5127 GB, free: 80.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.5401, allocations: 246.4 kB / 0.5129 GB, free: 80.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5401, allocations: 39.77 kB / 0.513 GB, free: 80.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5402, allocations: 299.8 kB / 0.5133 GB, free: 80.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.5404, allocations: 247.3 kB / 0.5135 GB, free: 80.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.5404, allocations: 17.34 kB / 0.5135 GB, free: 80.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.5404, allocations: 343.7 kB / 0.5139 GB, free: 80.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.5409, allocations: 245.1 kB / 0.5141 GB, free: 80.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.5414, allocations: 396.3 kB / 0.5145 GB, free: 79.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.5419, allocations: 296.9 kB / 0.5147 GB, free: 79.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5419, allocations: 4.656 kB / 0.5147 GB, free: 79.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001284/0.5432, allocations: 0.8427 MB / 0.5156 GB, free: 79.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5432, allocations: 9.297 kB / 0.5156 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5432, allocations: 8.719 kB / 0.5156 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.5435, allocations: 113.4 kB / 0.5157 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.5442, allocations: 166.9 kB / 0.5159 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.546, allocations: 3.169 MB / 0.519 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.5466, allocations: 97.09 kB / 0.519 GB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.5466, allocations: 29.97 kB / 0.5191 GB, free: 77.19 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0002052/0.5468, allocations: 201.5 kB / 0.5193 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.64e-05/0.5469, allocations: 43.05 kB / 0.5193 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.5483, allocations: 0.7628 MB / 0.5201 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5483, allocations: 3.969 kB / 0.5201 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5483, allocations: 6.875 kB / 0.5201 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5483, allocations: 6.141 kB / 0.5201 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5502, allocations: 1.462 MB / 0.5215 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5502, allocations: 0 / 0.5215 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.5507, allocations: 125 kB / 0.5216 GB, free: 76.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.551, allocations: 112.9 kB / 0.5217 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.551, allocations: 15.94 kB / 0.5217 GB, free: 76.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.5527, allocations: 3.143 MB / 0.5248 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5528, allocations: 6.594 kB / 0.5248 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5544, allocations: 1.179 MB / 0.526 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.5545, allocations: 123.5 kB / 0.5261 GB, free: 72.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.5545, allocations: 15.11 kB / 0.5261 GB, free: 72.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.5549, allocations: 33.55 kB / 0.5261 GB, free: 72.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.555, allocations: 56 kB / 0.5262 GB, free: 72.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.5551, allocations: 19.12 kB / 0.5262 GB, free: 72.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.5552, allocations: 191.7 kB / 0.5264 GB, free: 72.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5552, allocations: 0 / 0.5264 GB, free: 72.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.5558, allocations: 234.5 kB / 0.5266 GB, free: 72.48 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 () * Number of clocked 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.0002714/0.5561, allocations: 173.9 kB / 0.5268 GB, free: 72.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.5574, allocations: 0.8906 MB / 0.5276 GB, free: 71.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5574, allocations: 0.9375 kB / 0.5276 GB, free: 71.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006424/0.558, allocations: 0.5744 MB / 0.5282 GB, free: 71.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5583, allocations: 27.03 kB / 0.5282 GB, free: 71.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.5601, allocations: 1.382 MB / 0.5296 GB, free: 70.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5603, allocations: 0.8755 MB / 0.5304 GB, free: 70.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000378/0.5607, allocations: 85.7 kB / 0.5305 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5608, allocations: 44.06 kB / 0.5306 GB, free: 69.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5609, allocations: 4 kB / 0.5306 GB, free: 69.98 MB / 378.7 MB Notification: Performance of Templates: time 0.0091/0.57, allocations: 5.63 MB / 0.5361 GB, free: 68.95 MB / 378.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