Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 174.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.5 MB / 230.3 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 89.86 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.373e-05, allocations: 0 / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4587, allocations: 86.9 MB / 474.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.459, allocations: 95.92 kB / 474.5 MB, free: 7.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0569/0.5159, allocations: 25.37 MB / 499.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5159, allocations: 4 kB / 499.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.5159, allocations: 12 kB / 499.9 MB, free: 14.14 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003052/0.519, allocations: 1.1 MB / 0.4892 GB, free: 13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.519, allocations: 8.031 kB / 0.4892 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.521, allocations: 322.8 kB / 0.4895 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.5213, allocations: 266 kB / 0.4898 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.5214, allocations: 28 kB / 0.4898 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5215, allocations: 48 kB / 0.4899 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001186/0.5227, allocations: 0.6561 MB / 0.4905 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5239, allocations: 0.6888 MB / 0.4912 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.524, allocations: 3.984 kB / 0.4912 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.524, allocations: 3.953 kB / 0.4912 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.5241, allocations: 20 kB / 0.4912 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.5287, allocations: 2.846 MB / 0.494 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.5298, allocations: 0.9401 MB / 0.4949 GB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.5301, allocations: 190.5 kB / 0.4951 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.5303, allocations: 101.6 kB / 0.4952 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.856e-05/0.5304, allocations: 35.12 kB / 0.4952 GB, free: 6.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.437e-06/0.5304, allocations: 0 / 0.4952 GB, free: 6.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.004433/0.5348, allocations: 1.694 MB / 0.4969 GB, free: 4.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.5349, allocations: 85.67 kB / 0.4969 GB, free: 4.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.5353, allocations: 262 kB / 0.4972 GB, free: 4.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.5353, allocations: 29.64 kB / 0.4972 GB, free: 4.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/0.5356, allocations: 358.6 kB / 0.4976 GB, free: 3.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.5358, allocations: 213 kB / 0.4978 GB, free: 3.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.5359, allocations: 0 / 0.4978 GB, free: 3.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.536, allocations: 347.1 kB / 0.4981 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.5363, allocations: 182.6 kB / 0.4983 GB, free: 3.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.5368, allocations: 432.9 kB / 0.4987 GB, free: 2.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.5376, allocations: 337.9 kB / 0.499 GB, free: 2.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5376, allocations: 7.953 kB / 0.499 GB, free: 2.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001481/0.5391, allocations: 0.7699 MB / 0.4998 GB, free: 1.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5391, allocations: 13.09 kB / 0.4998 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5391, allocations: 8 kB / 0.4998 GB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.5394, allocations: 69.7 kB / 0.4998 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/0.5403, allocations: 211.7 kB / 0.5001 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.5424, allocations: 2.572 MB / 0.5026 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.543, allocations: 55.95 kB / 0.5026 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.5431, allocations: 44.05 kB / 0.5027 GB, free: 14.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.5433, allocations: 120.7 kB / 0.5028 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.5434, allocations: 39.53 kB / 0.5028 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.5448, allocations: 0.6534 MB / 0.5034 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5448, allocations: 4 kB / 0.5035 GB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5448, allocations: 4 kB / 0.5035 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5449, allocations: 3.984 kB / 0.5035 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.547, allocations: 1.243 MB / 0.5047 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.547, allocations: 0 / 0.5047 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.5477, allocations: 147.8 kB / 0.5048 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.5479, allocations: 57.64 kB / 0.5049 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.5479, allocations: 3.984 kB / 0.5049 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.5497, allocations: 2.544 MB / 0.5074 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5497, allocations: 0 / 0.5074 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5514, allocations: 0.9259 MB / 0.5083 GB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.5516, allocations: 160.6 kB / 0.5084 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.5517, allocations: 0 / 0.5084 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.5522, allocations: 60 kB / 0.5085 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5523, allocations: 40.5 kB / 0.5085 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.5524, allocations: 19.98 kB / 0.5085 GB, free: 8.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002374/0.5526, allocations: 194 kB / 0.5087 GB, free: 7.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5526, allocations: 0 / 0.5087 GB, free: 7.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008389/0.5535, allocations: 160 kB / 0.5089 GB, free: 7.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/0.5538, allocations: 167 kB / 0.509 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.555, allocations: 0.7323 MB / 0.5097 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.555, allocations: 0 / 0.5097 GB, free: 6.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000556/0.5556, allocations: 461.6 kB / 0.5102 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5559, allocations: 32.44 kB / 0.5102 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.5581, allocations: 0.8393 MB / 0.511 GB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.5587, allocations: 0.9003 MB / 0.5119 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004892/0.5592, allocations: 92.41 kB / 0.512 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5594, allocations: 59.34 kB / 0.5121 GB, free: 4.293 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5594, allocations: 0 / 0.5121 GB, free: 4.293 MB / 394.7 MB Notification: Performance of Templates: time 0.01252/0.5719, allocations: 5.482 MB / 0.5174 GB, free: 14.86 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches