Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009302/0.0009307, allocations: 85.3 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.616e-05, allocations: 4 kB / 350.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08717, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/0.3958, allocations: 88.33 MB / 490.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.3961, allocations: 91.5 kB / 490.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07748/0.4736, allocations: 27.11 MB / 0.5054 GB, free: 7.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4736, allocations: 0 / 0.5054 GB, free: 7.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.4737, allocations: 12 kB / 0.5054 GB, free: 7.406 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.004839/0.4785, allocations: 1.107 MB / 0.5065 GB, free: 6.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4786, allocations: 8.031 kB / 0.5065 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.4819, allocations: 322.9 kB / 0.5068 GB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4823, allocations: 247.7 kB / 0.5071 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-05/0.4824, allocations: 66 kB / 0.5071 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.4826, allocations: 87.52 kB / 0.5072 GB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.4848, allocations: 0.8096 MB / 0.508 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.4849, allocations: 0 / 0.508 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.485, allocations: 36 kB / 0.5081 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.485, allocations: 23.98 kB / 0.5081 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.487, allocations: 0.7029 MB / 0.5088 GB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.4916, allocations: 3.058 MB / 0.5117 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4927, allocations: 0.968 MB / 0.5127 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.493, allocations: 203.3 kB / 0.5129 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.4932, allocations: 182.7 kB / 0.5131 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4933, allocations: 39.12 kB / 0.5131 GB, free: 15.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.164e-06/0.4933, allocations: 0 / 0.5131 GB, free: 15.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.005374/0.4986, allocations: 1.828 MB / 0.5149 GB, free: 13.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.4987, allocations: 85.67 kB / 0.515 GB, free: 13.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.499, allocations: 271.2 kB / 0.5152 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.4991, allocations: 34.27 kB / 0.5153 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.4993, allocations: 366.6 kB / 0.5156 GB, free: 12.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.4995, allocations: 205 kB / 0.5158 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.4995, allocations: 16 kB / 0.5158 GB, free: 12.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4996, allocations: 346.8 kB / 0.5161 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.5, allocations: 202 kB / 0.5163 GB, free: 11.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.5005, allocations: 443 kB / 0.5168 GB, free: 11.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.5009, allocations: 259.1 kB / 0.517 GB, free: 10.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.5009, allocations: 7.984 kB / 0.517 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001227/0.5022, allocations: 0.7582 MB / 0.5178 GB, free: 10.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5022, allocations: 8 kB / 0.5178 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5022, allocations: 8 kB / 0.5178 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.5024, allocations: 65.72 kB / 0.5178 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009623/0.5034, allocations: 219.7 kB / 0.518 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.5053, allocations: 2.652 MB / 0.5206 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.506, allocations: 71.92 kB / 0.5207 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/0.5061, allocations: 43.98 kB / 0.5207 GB, free: 6.773 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.0001536/0.5063, allocations: 166.3 kB / 0.5209 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.5064, allocations: 39.53 kB / 0.5209 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.5075, allocations: 0.6025 MB / 0.5215 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.5075, allocations: 8 kB / 0.5215 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5076, allocations: 0 / 0.5215 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5076, allocations: 3.984 kB / 0.5215 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5095, allocations: 1.285 MB / 0.5228 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5095, allocations: 0 / 0.5228 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/0.5102, allocations: 155.8 kB / 0.5229 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.5104, allocations: 53.62 kB / 0.523 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.5104, allocations: 15.98 kB / 0.523 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.5122, allocations: 2.651 MB / 0.5256 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5122, allocations: 0 / 0.5256 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.5135, allocations: 0.8791 MB / 0.5265 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.5137, allocations: 168.5 kB / 0.5266 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.5138, allocations: 13.41 kB / 0.5266 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.5143, allocations: 64 kB / 0.5267 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5144, allocations: 48.42 kB / 0.5267 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.5145, allocations: 16 kB / 0.5268 GB, free: 240 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00021/0.5147, allocations: 210.2 kB / 0.527 GB, free: 24 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5147, allocations: 0 / 0.527 GB, free: 24 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006805/0.5154, allocations: 192 kB / 0.5271 GB, free: 15.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSensor.pin_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.0003595/0.5158, allocations: 208.6 kB / 0.5273 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.517, allocations: 0.7742 MB / 0.5281 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.517, allocations: 0 / 0.5281 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006055/0.5176, allocations: 485.7 kB / 0.5286 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5179, allocations: 45.52 kB / 0.5286 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.52, allocations: 0.8654 MB / 0.5294 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.5205, allocations: 0.8964 MB / 0.5303 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.521, allocations: 92.5 kB / 0.5304 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5212, allocations: 55.41 kB / 0.5305 GB, free: 12.34 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5212, allocations: 0 / 0.5305 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01242/0.5336, allocations: 6.102 MB / 0.5364 GB, free: 6.328 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches