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.0009899/0.0009899, allocations: 199 kB / 8.767 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009084/0.0009088, allocations: 97.62 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.982e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08905, allocations: 51.47 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.4763, allocations: 87.78 MB / 483 MB, free: 5.453 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4766, allocations: 89.25 kB / 483 MB, free: 5.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06358/0.5402, allocations: 26.9 MB / 0.498 GB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5402, allocations: 0 / 0.498 GB, free: 15.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.5403, allocations: 16 kB / 0.498 GB, free: 15.43 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.003155/0.5434, allocations: 1.13 MB / 0.4991 GB, free: 14.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5435, allocations: 8.031 kB / 0.4991 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.5455, allocations: 322.8 kB / 0.4994 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.5458, allocations: 243 kB / 0.4997 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.5458, allocations: 27.98 kB / 0.4997 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.546, allocations: 59.59 kB / 0.4997 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/0.5472, allocations: 0.6561 MB / 0.5004 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5484, allocations: 0.6884 MB / 0.5011 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5485, allocations: 4 kB / 0.5011 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.5485, allocations: 0 / 0.5011 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5486, allocations: 20 kB / 0.5011 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.553, allocations: 2.937 MB / 0.5039 GB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.554, allocations: 0.9297 MB / 0.5048 GB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.5543, allocations: 196.2 kB / 0.505 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.5545, allocations: 182.7 kB / 0.5052 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.5545, allocations: 39.12 kB / 0.5052 GB, free: 7.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.445e-06/0.5545, allocations: 0 / 0.5052 GB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.00591/0.5604, allocations: 1.901 MB / 0.5071 GB, free: 5.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5605, allocations: 89.67 kB / 0.5072 GB, free: 5.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.5609, allocations: 254.1 kB / 0.5074 GB, free: 5.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.5609, allocations: 25.7 kB / 0.5075 GB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.5611, allocations: 366.6 kB / 0.5078 GB, free: 4.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.5613, allocations: 197 kB / 0.508 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.5613, allocations: 0 / 0.508 GB, free: 4.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5615, allocations: 350.8 kB / 0.5083 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.5618, allocations: 182.6 kB / 0.5085 GB, free: 4.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.5622, allocations: 429 kB / 0.5089 GB, free: 3.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5634, allocations: 409.8 kB / 0.5093 GB, free: 3.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5634, allocations: 3.984 kB / 0.5093 GB, free: 3.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002016/0.5654, allocations: 0.8437 MB / 0.5101 GB, free: 2.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5655, allocations: 9.875 kB / 0.5101 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5655, allocations: 8 kB / 0.5101 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.5658, allocations: 70.11 kB / 0.5102 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.5668, allocations: 213.4 kB / 0.5104 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.5688, allocations: 2.556 MB / 0.5129 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008038/0.5696, allocations: 60.02 kB / 0.513 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.5697, allocations: 35.98 kB / 0.513 GB, free: 15.16 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.000188/0.5699, allocations: 132.7 kB / 0.5131 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.57, allocations: 43.48 kB / 0.5132 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.572, allocations: 0.7196 MB / 0.5139 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.572, allocations: 7.984 kB / 0.5139 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.572, allocations: 0 / 0.5139 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.572, allocations: 3.984 kB / 0.5139 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.5746, allocations: 1.306 MB / 0.5152 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5746, allocations: 4 kB / 0.5152 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/0.5753, allocations: 147.8 kB / 0.5153 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.5756, allocations: 57.69 kB / 0.5154 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.5756, allocations: 7.984 kB / 0.5154 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.5775, allocations: 2.537 MB / 0.5178 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5776, allocations: 0 / 0.5178 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.5797, allocations: 0.9883 MB / 0.5188 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.5799, allocations: 166.3 kB / 0.519 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.58, allocations: 3.984 kB / 0.519 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.5806, allocations: 52.08 kB / 0.519 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.5807, allocations: 52.38 kB / 0.5191 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.5808, allocations: 19.98 kB / 0.5191 GB, free: 8.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.581, allocations: 190 kB / 0.5193 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.581, allocations: 4 kB / 0.5193 GB, free: 8.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007392/0.5818, allocations: 171.9 kB / 0.5194 GB, free: 8.219 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.0002913/0.5821, allocations: 173.9 kB / 0.5196 GB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.5832, allocations: 0.7289 MB / 0.5203 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5832, allocations: 0 / 0.5203 GB, free: 7.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.5838, allocations: 469.8 kB / 0.5208 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.5841, allocations: 31.73 kB / 0.5208 GB, free: 6.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.5862, allocations: 0.827 MB / 0.5216 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.5867, allocations: 0.8925 MB / 0.5225 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005115/0.5872, allocations: 96.39 kB / 0.5226 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.5874, allocations: 51.41 kB / 0.5226 GB, free: 4.875 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5874, allocations: 0 / 0.5226 GB, free: 4.875 MB / 394.7 MB Notification: Performance of Templates: time 0.01074/0.5981, allocations: 5.536 MB / 0.528 GB, free: 15.43 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