Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001072, allocations: 199 kB / 17.08 MB, free: 5.078 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.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008828/0.0008829, allocations: 106.7 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002068, allocations: 4 kB / 357.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2083, allocations: 51.48 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09466/0.303, allocations: 83.89 MB / 493.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.3033, allocations: 99.94 kB / 493.4 MB, free: 6.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2319/0.5351, allocations: 27.64 MB / 0.5088 GB, free: 84.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5352, allocations: 1.031 kB / 0.5088 GB, free: 84.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.5352, allocations: 14.25 kB / 0.5089 GB, free: 84.45 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00308/0.5383, allocations: 1.109 MB / 0.5099 GB, free: 83.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5384, allocations: 9.906 kB / 0.5099 GB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.54, allocations: 260.7 kB / 0.5102 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.5403, allocations: 255 kB / 0.5104 GB, free: 83.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.5404, allocations: 76.98 kB / 0.5105 GB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.5406, allocations: 103.4 kB / 0.5106 GB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.542, allocations: 0.9213 MB / 0.5115 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.5421, allocations: 6.188 kB / 0.5115 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.5421, allocations: 39 kB / 0.5116 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5422, allocations: 22.72 kB / 0.5116 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5433, allocations: 0.7835 MB / 0.5123 GB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.5475, allocations: 3.659 MB / 0.5159 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.5491, allocations: 1.422 MB / 0.5173 GB, free: 81.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5492, allocations: 188.7 kB / 0.5175 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.5493, allocations: 44.31 kB / 0.5175 GB, free: 81.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.5493, allocations: 0 / 0.5175 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001705/0.551, allocations: 1.293 MB / 0.5188 GB, free: 80.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.551, allocations: 93.95 kB / 0.5189 GB, free: 80.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.5513, allocations: 329.5 kB / 0.5192 GB, free: 80.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.5513, allocations: 36.2 kB / 0.5192 GB, free: 80.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5515, allocations: 379.8 kB / 0.5196 GB, free: 80.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5516, allocations: 306.7 kB / 0.5199 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.5517, allocations: 18.88 kB / 0.5199 GB, free: 79.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.5517, allocations: 364.3 kB / 0.5202 GB, free: 79.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.5521, allocations: 263.1 kB / 0.5205 GB, free: 79.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.5525, allocations: 474 kB / 0.5209 GB, free: 79.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.553, allocations: 327.9 kB / 0.5213 GB, free: 79.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.553, allocations: 7.562 kB / 0.5213 GB, free: 79.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001251/0.5542, allocations: 0.9702 MB / 0.5222 GB, free: 78.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5543, allocations: 7.312 kB / 0.5222 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.5543, allocations: 3.656 kB / 0.5222 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.5546, allocations: 127 kB / 0.5223 GB, free: 78.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.5554, allocations: 201.1 kB / 0.5225 GB, free: 78.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.5581, allocations: 5.603 MB / 0.528 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.5588, allocations: 101.3 kB / 0.5281 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.5588, allocations: 38.91 kB / 0.5281 GB, free: 73.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.5592, allocations: 230.4 kB / 0.5284 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5593, allocations: 51.78 kB / 0.5284 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.5606, allocations: 0.8535 MB / 0.5292 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.5606, allocations: 14.38 kB / 0.5293 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5606, allocations: 3.953 kB / 0.5293 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5606, allocations: 6.859 kB / 0.5293 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.5631, allocations: 2.199 MB / 0.5314 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5631, allocations: 2.844 kB / 0.5314 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.5637, allocations: 134.5 kB / 0.5315 GB, free: 70.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.5639, allocations: 106.1 kB / 0.5317 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.564, allocations: 26.84 kB / 0.5317 GB, free: 70.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.5664, allocations: 5.335 MB / 0.5369 GB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5664, allocations: 0 / 0.5369 GB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.5679, allocations: 1.379 MB / 0.5382 GB, free: 64.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.568, allocations: 148.4 kB / 0.5384 GB, free: 64.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.5681, allocations: 15.81 kB / 0.5384 GB, free: 64.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.5685, allocations: 25.25 kB / 0.5384 GB, free: 64.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.5686, allocations: 69.02 kB / 0.5385 GB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.5686, allocations: 28.39 kB / 0.5385 GB, free: 64.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002614/0.5689, allocations: 251.4 kB / 0.5387 GB, free: 64.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5689, allocations: 0 / 0.5387 GB, free: 64.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001061/0.57, allocations: 272.6 kB / 0.539 GB, free: 64.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (referenceSensor.port.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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.5703, allocations: 169.3 kB / 0.5392 GB, free: 64.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.5716, allocations: 1.165 MB / 0.5403 GB, free: 63.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5717, allocations: 0 / 0.5403 GB, free: 63.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006343/0.5723, allocations: 0.7881 MB / 0.5411 GB, free: 62.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.5726, allocations: 45.55 kB / 0.5411 GB, free: 62.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.5749, allocations: 1.714 MB / 0.5428 GB, free: 61.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.5752, allocations: 0.924 MB / 0.5437 GB, free: 60.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004943/0.5757, allocations: 111 kB / 0.5438 GB, free: 60.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.5759, allocations: 54.95 kB / 0.5439 GB, free: 60.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5759, allocations: 0 / 0.5439 GB, free: 60.18 MB / 378.7 MB Notification: Performance of Templates: time 0.0112/0.5871, allocations: 6.829 MB / 0.5505 GB, free: 56.1 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches