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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 196.7 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.289/1.289, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007993/0.0007994, allocations: 90 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.583e-05, allocations: 4 kB / 350.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08551, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2967/0.3823, allocations: 88.43 MB / 490.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3825, allocations: 92.77 kB / 490.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06085/0.4434, allocations: 27.2 MB / 0.5056 GB, free: 7.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4434, allocations: 0 / 0.5056 GB, free: 7.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4435, allocations: 12 kB / 0.5056 GB, free: 7.242 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.003247/0.4467, allocations: 1.118 MB / 0.5067 GB, free: 6.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4468, allocations: 12.03 kB / 0.5067 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.4488, allocations: 322.8 kB / 0.5071 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.449, allocations: 247 kB / 0.5073 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.4491, allocations: 66 kB / 0.5073 GB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4492, allocations: 83.61 kB / 0.5074 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4506, allocations: 0.8095 MB / 0.5082 GB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.4507, allocations: 12.73 kB / 0.5082 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.4508, allocations: 32 kB / 0.5083 GB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.4508, allocations: 20 kB / 0.5083 GB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.452, allocations: 0.6991 MB / 0.509 GB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.4567, allocations: 3.084 MB / 0.512 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4578, allocations: 0.9561 MB / 0.5129 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.4582, allocations: 206.5 kB / 0.5131 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.4584, allocations: 178.7 kB / 0.5133 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4584, allocations: 45.75 kB / 0.5133 GB, free: 14.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 2.715e-06/0.4584, allocations: 3.938 kB / 0.5133 GB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.00539/0.4638, allocations: 1.824 MB / 0.5151 GB, free: 13.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4639, allocations: 81.67 kB / 0.5152 GB, free: 12.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4642, allocations: 282.6 kB / 0.5155 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.4643, allocations: 33.7 kB / 0.5155 GB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.4645, allocations: 366.6 kB / 0.5158 GB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4647, allocations: 212.9 kB / 0.516 GB, free: 12.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.4647, allocations: 16 kB / 0.5161 GB, free: 12.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4649, allocations: 350.7 kB / 0.5164 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.4652, allocations: 198 kB / 0.5166 GB, free: 11.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.4657, allocations: 444.6 kB / 0.517 GB, free: 10.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.4662, allocations: 267.1 kB / 0.5173 GB, free: 10.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4662, allocations: 4 kB / 0.5173 GB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001206/0.4674, allocations: 0.7543 MB / 0.518 GB, free: 9.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4674, allocations: 8 kB / 0.518 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4675, allocations: 8 kB / 0.518 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/0.4677, allocations: 73.67 kB / 0.5181 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/0.4686, allocations: 207.7 kB / 0.5183 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.4704, allocations: 2.66 MB / 0.5209 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.4711, allocations: 71.94 kB / 0.5209 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.4712, allocations: 43.98 kB / 0.521 GB, free: 6.559 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.0001568/0.4714, allocations: 160.6 kB / 0.5211 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.4715, allocations: 43.44 kB / 0.5212 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.4726, allocations: 0.6104 MB / 0.5218 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.4726, allocations: 4 kB / 0.5218 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4727, allocations: 4 kB / 0.5218 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4727, allocations: 7.984 kB / 0.5218 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.4746, allocations: 1.291 MB / 0.5231 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4746, allocations: 0 / 0.5231 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.4753, allocations: 147.8 kB / 0.5232 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.4755, allocations: 57.67 kB / 0.5233 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.4755, allocations: 15.98 kB / 0.5233 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.4772, allocations: 2.655 MB / 0.5259 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4773, allocations: 0 / 0.5259 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.4786, allocations: 0.8752 MB / 0.5267 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.4788, allocations: 168.6 kB / 0.5269 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.4789, allocations: 12 kB / 0.5269 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.4795, allocations: 56.14 kB / 0.5269 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4796, allocations: 52.55 kB / 0.527 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.4797, allocations: 24.05 kB / 0.527 GB, free: 15.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.4799, allocations: 210.2 kB / 0.5272 GB, free: 15.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4799, allocations: 0 / 0.5272 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000727/0.4806, allocations: 195.9 kB / 0.5274 GB, free: 15.6 MB / 410.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.0003464/0.481, allocations: 213.9 kB / 0.5276 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.4822, allocations: 0.7706 MB / 0.5284 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4822, allocations: 0 / 0.5284 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.4828, allocations: 492.4 kB / 0.5288 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.4831, allocations: 51.52 kB / 0.5289 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.4852, allocations: 0.8677 MB / 0.5297 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.4857, allocations: 0.8964 MB / 0.5306 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004839/0.4862, allocations: 92.52 kB / 0.5307 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.4863, allocations: 51.42 kB / 0.5307 GB, free: 12.1 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4864, allocations: 0 / 0.5307 GB, free: 12.1 MB / 410.7 MB Notification: Performance of Templates: time 0.01116/0.4975, allocations: 6.17 MB / 0.5368 GB, free: 6.02 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