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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009/0.0008999, allocations: 89.42 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.646e-06, allocations: 4 kB / 343.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 51.48 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3237/0.4388, allocations: 87.59 MB / 482.2 MB, free: 5.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.4391, allocations: 82.39 kB / 482.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06062/0.4997, allocations: 26.46 MB / 0.4968 GB, free: 356 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4998, allocations: 12 kB / 0.4969 GB, free: 344 kB / 362.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.003571/0.5033, allocations: 1.11 MB / 0.4979 GB, free: 15.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5034, allocations: 8.031 kB / 0.498 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.5058, allocations: 350.7 kB / 0.4983 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.5061, allocations: 246.7 kB / 0.4985 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.5062, allocations: 28 kB / 0.4985 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.5064, allocations: 51.94 kB / 0.4986 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001417/0.5078, allocations: 0.66 MB / 0.4992 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.5092, allocations: 0.6888 MB / 0.4999 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.5092, allocations: 4 kB / 0.4999 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.5093, allocations: 3.984 kB / 0.4999 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.5093, allocations: 20 kB / 0.4999 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/0.5144, allocations: 2.922 MB / 0.5028 GB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5149, allocations: 263.8 kB / 0.503 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.5152, allocations: 186.3 kB / 0.5032 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.5155, allocations: 174.7 kB / 0.5034 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.5156, allocations: 43 kB / 0.5034 GB, free: 9.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.206e-06/0.5156, allocations: 0 / 0.5034 GB, free: 9.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.00446/0.5201, allocations: 1.485 MB / 0.5049 GB, free: 7.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.5202, allocations: 89.55 kB / 0.505 GB, free: 7.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.5204, allocations: 247.2 kB / 0.5052 GB, free: 7.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.5205, allocations: 25.7 kB / 0.5052 GB, free: 7.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.5207, allocations: 354.6 kB / 0.5056 GB, free: 6.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.5209, allocations: 209 kB / 0.5058 GB, free: 6.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.5209, allocations: 0 / 0.5058 GB, free: 6.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5211, allocations: 346.8 kB / 0.5061 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.5214, allocations: 182 kB / 0.5063 GB, free: 6.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.5219, allocations: 426.6 kB / 0.5067 GB, free: 5.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.5225, allocations: 271 kB / 0.5069 GB, free: 5.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5226, allocations: 4 kB / 0.5069 GB, free: 5.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001414/0.524, allocations: 0.7004 MB / 0.5076 GB, free: 4.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.524, allocations: 4 kB / 0.5076 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.524, allocations: 8 kB / 0.5076 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.5243, allocations: 73.92 kB / 0.5077 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/0.5253, allocations: 211.7 kB / 0.5079 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.5273, allocations: 2.544 MB / 0.5104 GB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.5281, allocations: 63.92 kB / 0.5105 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.5281, allocations: 39.34 kB / 0.5105 GB, free: 1.57 MB / 378.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.0001612/0.5283, allocations: 136.7 kB / 0.5106 GB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.5284, allocations: 35.53 kB / 0.5107 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.5298, allocations: 0.5882 MB / 0.5112 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5298, allocations: 13.22 kB / 0.5112 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5298, allocations: 4 kB / 0.5112 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5298, allocations: 0 / 0.5112 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.5319, allocations: 1.195 MB / 0.5124 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5319, allocations: 0 / 0.5124 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/0.5327, allocations: 151.8 kB / 0.5126 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.5329, allocations: 57.69 kB / 0.5126 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.533, allocations: 11.89 kB / 0.5126 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.535, allocations: 2.512 MB / 0.5151 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.535, allocations: 7.938 kB / 0.5151 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001612/0.5366, allocations: 0.8575 MB / 0.5159 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.5369, allocations: 164.6 kB / 0.5161 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.537, allocations: 0 / 0.5161 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/0.5377, allocations: 64.06 kB / 0.5161 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5378, allocations: 41.66 kB / 0.5162 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.5379, allocations: 19.98 kB / 0.5162 GB, free: 11.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002165/0.5381, allocations: 179.1 kB / 0.5164 GB, free: 11.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008537/0.539, allocations: 167.9 kB / 0.5165 GB, free: 11.03 MB / 394.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.000387/0.5394, allocations: 173.9 kB / 0.5167 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.5409, allocations: 0.7237 MB / 0.5174 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5409, allocations: 0 / 0.5174 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.5416, allocations: 459.6 kB / 0.5178 GB, free: 9.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.5419, allocations: 26.39 kB / 0.5179 GB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.5447, allocations: 0.8568 MB / 0.5187 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000854/0.5455, allocations: 0.9644 MB / 0.5196 GB, free: 7.742 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5456, allocations: 0 / 0.5196 GB, free: 7.742 MB / 394.7 MB Notification: Performance of Templates: time 0.01564/0.5612, allocations: 7.79 MB / 0.5273 GB, free: 60 kB / 394.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