Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.00116, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.397/1.397, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009335/0.0009332, allocations: 96.42 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002444, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2609, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3617, allocations: 82.74 MB / 458.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3619, allocations: 83.95 kB / 458.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04621/0.4082, allocations: 19.51 MB / 478.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4082, allocations: 0 / 478.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.4082, allocations: 15.94 kB / 478.2 MB, free: 10.07 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002969/0.4112, allocations: 0.9715 MB / 479.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.4113, allocations: 8.031 kB / 479.2 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.4126, allocations: 179.1 kB / 479.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.413, allocations: 227 kB / 479.5 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.4131, allocations: 53.98 kB / 479.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.4132, allocations: 71.95 kB / 479.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.4147, allocations: 0.6996 MB / 480.4 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.4147, allocations: 7.984 kB / 480.4 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.4148, allocations: 28 kB / 480.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4148, allocations: 20 kB / 480.4 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.4161, allocations: 0.6274 MB / 481.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.4196, allocations: 2.348 MB / 483.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.4216, allocations: 1.689 MB / 485.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.4218, allocations: 93.66 kB / 485.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4218, allocations: 51.11 kB / 485.2 MB, free: 2.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.086e-06/0.4218, allocations: 0 / 485.2 MB, free: 2.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001627/0.4235, allocations: 0.7212 MB / 486 MB, free: 1.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.4236, allocations: 115.4 kB / 486.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.4239, allocations: 244 kB / 486.3 MB, free: 1.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.4239, allocations: 37.7 kB / 486.3 MB, free: 1.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.4241, allocations: 264 kB / 486.6 MB, free: 1.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.4243, allocations: 224.7 kB / 486.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.4243, allocations: 16 kB / 486.8 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4245, allocations: 346.8 kB / 487.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.425, allocations: 217.9 kB / 487.4 MB, free: 304 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.4255, allocations: 309.4 kB / 487.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.4261, allocations: 259.2 kB / 487.9 MB, free: 15.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4261, allocations: 3.938 kB / 487.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001258/0.4273, allocations: 0.649 MB / 488.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4274, allocations: 8 kB / 488.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4274, allocations: 0 / 488.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4274, allocations: 4 kB / 488.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.4281, allocations: 168 kB / 488.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4282, allocations: 7.953 kB / 488.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.4287, allocations: 79.34 kB / 488.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.4287, allocations: 24 kB / 488.9 MB, free: 14.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.429, allocations: 189.7 kB / 489.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.4291, allocations: 47.41 kB / 489.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.4304, allocations: 0.6163 MB / 489.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.4305, allocations: 8 kB / 489.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4305, allocations: 0 / 489.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.4305, allocations: 7.938 kB / 489.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.4326, allocations: 1.288 MB / 491 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4327, allocations: 0 / 491 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.4332, allocations: 139.8 kB / 491.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4333, allocations: 4 kB / 491.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.4333, allocations: 16 kB / 491.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.4333, allocations: 4 kB / 491.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4333, allocations: 0 / 491.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4351, allocations: 1.019 MB / 492.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4352, allocations: 116.6 kB / 492.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.4353, allocations: 12 kB / 492.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.4357, allocations: 31.98 kB / 492.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.4358, allocations: 44.56 kB / 492.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4358, allocations: 19.98 kB / 492.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.436, allocations: 188.5 kB / 492.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.436, allocations: 0 / 492.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.4367, allocations: 187.4 kB / 492.8 MB, free: 10.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002931/0.437, allocations: 159 kB / 492.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4382, allocations: 0.5507 MB / 493.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4382, allocations: 384 / 493.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005368/0.4388, allocations: 283.1 kB / 493.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4392, allocations: 40.36 kB / 493.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.4414, allocations: 1.317 MB / 495.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.4419, allocations: 0.8502 MB / 496 MB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.4423, allocations: 87.39 kB / 496.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.4425, allocations: 43.42 kB / 496.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4425, allocations: 0 / 496.1 MB, free: 7.348 MB / 378.7 MB Notification: Performance of Templates: time 0.009228/0.4518, allocations: 4.641 MB / 0.489 GB, free: 2.727 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches