Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [: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.001868/0.001868, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008402/0.0008402, allocations: 96.34 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.854e-06, allocations: 4 kB / 343.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08491, allocations: 51.47 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2524/0.3373, allocations: 87.69 MB / 482.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.3376, allocations: 92.47 kB / 482.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06166/0.3993, allocations: 26.56 MB / 0.497 GB, free: 236 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3994, allocations: 12 kB / 0.4971 GB, free: 224 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.003411/0.4028, allocations: 1.124 MB / 0.4982 GB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4028, allocations: 8.031 kB / 0.4982 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.4052, allocations: 350.7 kB / 0.4985 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4056, allocations: 246.2 kB / 0.4987 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.4056, allocations: 24 kB / 0.4988 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.4058, allocations: 67.88 kB / 0.4988 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/0.4072, allocations: 0.66 MB / 0.4995 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.4084, allocations: 0.6849 MB / 0.5001 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.4085, allocations: 4 kB / 0.5001 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.4085, allocations: 0 / 0.5001 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.4086, allocations: 20 kB / 0.5002 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00486/0.4134, allocations: 2.941 MB / 0.503 GB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.4139, allocations: 258.9 kB / 0.5033 GB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.4146, allocations: 182.4 kB / 0.5034 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/0.415, allocations: 174.7 kB / 0.5036 GB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.4151, allocations: 43.06 kB / 0.5037 GB, free: 9.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 6.813e-06/0.4151, allocations: 0 / 0.5037 GB, free: 9.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.00798/0.4231, allocations: 1.495 MB / 0.5051 GB, free: 7.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.4232, allocations: 89.61 kB / 0.5052 GB, free: 7.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.4238, allocations: 260.4 kB / 0.5054 GB, free: 7.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.4239, allocations: 25.7 kB / 0.5055 GB, free: 7.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.4242, allocations: 354.6 kB / 0.5058 GB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.4244, allocations: 197 kB / 0.506 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.4245, allocations: 4 kB / 0.506 GB, free: 6.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4247, allocations: 350.7 kB / 0.5063 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.4252, allocations: 186 kB / 0.5065 GB, free: 6.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.4259, allocations: 426.7 kB / 0.5069 GB, free: 5.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.427, allocations: 271 kB / 0.5072 GB, free: 5.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4271, allocations: 0 / 0.5072 GB, free: 5.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002502/0.4296, allocations: 0.7081 MB / 0.5079 GB, free: 4.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4296, allocations: 4 kB / 0.5079 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.4297, allocations: 8 kB / 0.5079 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00039/0.4301, allocations: 71.45 kB / 0.508 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.4317, allocations: 219.7 kB / 0.5082 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.4347, allocations: 2.536 MB / 0.5106 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.436, allocations: 72.05 kB / 0.5107 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.4361, allocations: 43.89 kB / 0.5107 GB, free: 1.391 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.0002889/0.4364, allocations: 128.7 kB / 0.5109 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.4366, allocations: 39.53 kB / 0.5109 GB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.4389, allocations: 0.5884 MB / 0.5115 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.4389, allocations: 11.91 kB / 0.5115 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4389, allocations: 0 / 0.5115 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.4389, allocations: 7.922 kB / 0.5115 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.4424, allocations: 1.191 MB / 0.5127 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4425, allocations: 0 / 0.5127 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.4439, allocations: 147.8 kB / 0.5128 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.4442, allocations: 61.61 kB / 0.5129 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.4443, allocations: 9.297 kB / 0.5129 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.4472, allocations: 2.528 MB / 0.5153 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4472, allocations: 0 / 0.5153 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002658/0.4499, allocations: 0.8614 MB / 0.5162 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.4503, allocations: 164.7 kB / 0.5163 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.4505, allocations: 7.984 kB / 0.5163 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.4516, allocations: 55.95 kB / 0.5164 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.4518, allocations: 32.44 kB / 0.5164 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.4518, allocations: 23.98 kB / 0.5165 GB, free: 11.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003691/0.4522, allocations: 195.1 kB / 0.5166 GB, free: 11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001253/0.4535, allocations: 167.8 kB / 0.5168 GB, free: 10.84 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.0004481/0.454, allocations: 174.1 kB / 0.517 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.4558, allocations: 0.7315 MB / 0.5177 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4559, allocations: 1.938 kB / 0.5177 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009796/0.4569, allocations: 460.5 kB / 0.5181 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.4573, allocations: 27.05 kB / 0.5181 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.4613, allocations: 0.8645 MB / 0.519 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.4624, allocations: 0.9722 MB / 0.5199 GB, free: 7.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4624, allocations: 0 / 0.5199 GB, free: 7.527 MB / 394.7 MB Notification: Performance of Templates: time 0.02559/0.488, allocations: 7.823 MB / 0.5276 GB, free: 15.8 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches