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.001618/0.001618, allocations: 200.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007598/0.0007598, allocations: 94.59 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.85e-05, allocations: 4 kB / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08857, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.4087, allocations: 87.67 MB / 482.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.4089, allocations: 93.22 kB / 482.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07452/0.4835, allocations: 26.82 MB / 0.4978 GB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4835, allocations: 0 / 0.4978 GB, free: 15.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.523e-05/0.4836, allocations: 16 kB / 0.4978 GB, free: 15.63 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.005108/0.4887, allocations: 1.103 MB / 0.4989 GB, free: 14.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.4888, allocations: 16.02 kB / 0.4989 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.4922, allocations: 318.9 kB / 0.4992 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.4926, allocations: 247.7 kB / 0.4995 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.4927, allocations: 28 kB / 0.4995 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.493, allocations: 55.52 kB / 0.4995 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002072/0.4951, allocations: 0.6561 MB / 0.5002 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.4971, allocations: 0.6889 MB / 0.5008 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.4971, allocations: 4 kB / 0.5009 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.4972, allocations: 4 kB / 0.5009 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.4973, allocations: 20 kB / 0.5009 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006659/0.5039, allocations: 2.926 MB / 0.5037 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.5056, allocations: 0.938 MB / 0.5046 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.5061, allocations: 182.5 kB / 0.5048 GB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.5063, allocations: 186.7 kB / 0.505 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.5064, allocations: 43.06 kB / 0.505 GB, free: 7.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 3.717e-06/0.5064, allocations: 1.875 kB / 0.505 GB, free: 7.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.006688/0.5131, allocations: 1.89 MB / 0.5069 GB, free: 5.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.5132, allocations: 85.67 kB / 0.507 GB, free: 5.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.5135, allocations: 246.1 kB / 0.5072 GB, free: 5.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.5135, allocations: 25.7 kB / 0.5072 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.5137, allocations: 366.5 kB / 0.5076 GB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.5139, allocations: 201 kB / 0.5078 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.5139, allocations: 0 / 0.5078 GB, free: 4.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5141, allocations: 350.8 kB / 0.5081 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.5144, allocations: 182.6 kB / 0.5083 GB, free: 4.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.5148, allocations: 425 kB / 0.5087 GB, free: 3.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.5161, allocations: 409.8 kB / 0.5091 GB, free: 3.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.5161, allocations: 4 kB / 0.5091 GB, free: 3.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001948/0.518, allocations: 0.8316 MB / 0.5099 GB, free: 2.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5181, allocations: 8.844 kB / 0.5099 GB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5181, allocations: 8 kB / 0.5099 GB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/0.5183, allocations: 73.61 kB / 0.51 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/0.5193, allocations: 211.7 kB / 0.5102 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.5214, allocations: 2.552 MB / 0.5127 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/0.5222, allocations: 60.08 kB / 0.5127 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.5222, allocations: 37.67 kB / 0.5128 GB, free: 15.41 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.0001693/0.5224, allocations: 131.3 kB / 0.5129 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.5225, allocations: 47.42 kB / 0.5129 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.5245, allocations: 0.7158 MB / 0.5136 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5245, allocations: 11.94 kB / 0.5136 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5245, allocations: 0 / 0.5136 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5245, allocations: 3.984 kB / 0.5136 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.5271, allocations: 1.302 MB / 0.5149 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5272, allocations: 0 / 0.5149 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.5279, allocations: 143.8 kB / 0.5151 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.5281, allocations: 57.62 kB / 0.5151 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.5282, allocations: 7.984 kB / 0.5151 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.5299, allocations: 2.544 MB / 0.5176 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5299, allocations: 0 / 0.5176 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.532, allocations: 0.9843 MB / 0.5186 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.5323, allocations: 164.6 kB / 0.5187 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.5324, allocations: 0 / 0.5187 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.5329, allocations: 56.06 kB / 0.5188 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5331, allocations: 51.55 kB / 0.5188 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.5332, allocations: 19.98 kB / 0.5188 GB, free: 8.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002707/0.5335, allocations: 186 kB / 0.519 GB, free: 8.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5335, allocations: 0 / 0.519 GB, free: 8.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001123/0.5346, allocations: 160 kB / 0.5192 GB, free: 8.508 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.0004227/0.5351, allocations: 178 kB / 0.5193 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.5367, allocations: 0.7246 MB / 0.5201 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5368, allocations: 0.625 kB / 0.5201 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.5374, allocations: 465.6 kB / 0.5205 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5377, allocations: 27.31 kB / 0.5205 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.5399, allocations: 0.8308 MB / 0.5213 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.5404, allocations: 0.8925 MB / 0.5222 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005309/0.5409, allocations: 88.38 kB / 0.5223 GB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5411, allocations: 51.41 kB / 0.5223 GB, free: 5.172 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5411, allocations: 4 kB / 0.5223 GB, free: 5.168 MB / 394.7 MB Notification: Performance of Templates: time 0.01105/0.5521, allocations: 5.491 MB / 0.5277 GB, free: 15.76 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