Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008393, allocations: 90.98 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.612e-05, allocations: 7.984 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09806, allocations: 50.41 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3081/0.4062, allocations: 87.5 MB / 475 MB, free: 7.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4065, allocations: 95.94 kB / 475.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07973/0.4863, allocations: 35.11 MB / 0.4982 GB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4863, allocations: 0 / 0.4982 GB, free: 3.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.654e-05/0.4863, allocations: 20 kB / 0.4982 GB, free: 3.66 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004181/0.4905, allocations: 1.472 MB / 0.4997 GB, free: 2.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4906, allocations: 16.02 kB / 0.4997 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.4934, allocations: 450.2 kB / 0.5001 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.4937, allocations: 301.6 kB / 0.5004 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.4938, allocations: 44 kB / 0.5004 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.494, allocations: 75.91 kB / 0.5005 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001802/0.4958, allocations: 1.02 MB / 0.5015 GB, free: 212 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.4976, allocations: 1.033 MB / 0.5025 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.4976, allocations: 11.94 kB / 0.5025 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.4977, allocations: 0 / 0.5025 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.4977, allocations: 39.94 kB / 0.5026 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/0.504, allocations: 4.057 MB / 0.5065 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.506, allocations: 2.192 MB / 0.5087 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.5068, allocations: 492.1 kB / 0.5091 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.5069, allocations: 106.4 kB / 0.5092 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.507, allocations: 47.81 kB / 0.5093 GB, free: 7.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.927e-06/0.507, allocations: 0 / 0.5093 GB, free: 7.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.00734/0.5143, allocations: 2.9 MB / 0.5121 GB, free: 4.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.5144, allocations: 98.34 kB / 0.5122 GB, free: 4.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.5149, allocations: 318.1 kB / 0.5125 GB, free: 4.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.515, allocations: 25.7 kB / 0.5125 GB, free: 4.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.5153, allocations: 443 kB / 0.513 GB, free: 3.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.5156, allocations: 413.7 kB / 0.5134 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.5157, allocations: 0 / 0.5134 GB, free: 3.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5158, allocations: 374.8 kB / 0.5137 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.5163, allocations: 324 kB / 0.514 GB, free: 2.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.517, allocations: 0.5813 MB / 0.5146 GB, free: 2.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.5185, allocations: 0.6152 MB / 0.5152 GB, free: 1.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.5185, allocations: 0 / 0.5152 GB, free: 1.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00275/0.5213, allocations: 1.388 MB / 0.5166 GB, free: 80 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.5213, allocations: 8 kB / 0.5166 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5213, allocations: 4 kB / 0.5166 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.5219, allocations: 185.6 kB / 0.5167 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.5232, allocations: 303.6 kB / 0.517 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.527, allocations: 3.828 MB / 0.5208 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.528, allocations: 60.02 kB / 0.5208 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.5281, allocations: 63.91 kB / 0.5209 GB, free: 11.41 MB / 410.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 (146): * Single equations (assignments): 144 * 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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.5283, allocations: 128.7 kB / 0.521 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5285, allocations: 71.11 kB / 0.5211 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.5314, allocations: 1.299 MB / 0.5223 GB, free: 9.891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5315, allocations: 15.98 kB / 0.5224 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5315, allocations: 7.938 kB / 0.5224 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5315, allocations: 7.969 kB / 0.5224 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.5358, allocations: 2.349 MB / 0.5247 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5358, allocations: 0 / 0.5247 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5368, allocations: 231.8 kB / 0.5249 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.5373, allocations: 161.5 kB / 0.525 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.665e-05/0.5373, allocations: 11.98 kB / 0.5251 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.5406, allocations: 3.62 MB / 0.5286 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5406, allocations: 0 / 0.5286 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.5437, allocations: 1.81 MB / 0.5304 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.544, allocations: 228.3 kB / 0.5306 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.5441, allocations: 7.953 kB / 0.5306 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.5448, allocations: 55.94 kB / 0.5306 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.545, allocations: 89.17 kB / 0.5307 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.5451, allocations: 35.98 kB / 0.5308 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002281/0.5453, allocations: 236.5 kB / 0.531 GB, free: 0.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5453, allocations: 0 / 0.531 GB, free: 0.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00105/0.5464, allocations: 256.1 kB / 0.5312 GB, free: 428 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003542/0.5467, allocations: 167 kB / 0.5314 GB, free: 252 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.5485, allocations: 1.196 MB / 0.5326 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5486, allocations: 4 kB / 0.5326 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.5495, allocations: 0.7521 MB / 0.5333 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.5499, allocations: 28.08 kB / 0.5333 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.5527, allocations: 1.313 MB / 0.5346 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.5533, allocations: 1.029 MB / 0.5356 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000762/0.5541, allocations: 142.8 kB / 0.5357 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.5543, allocations: 79.41 kB / 0.5358 GB, free: 11.59 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5543, allocations: 7.938 kB / 0.5358 GB, free: 11.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01604/0.5704, allocations: 8.903 MB / 0.5445 GB, free: 2.715 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches