Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.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.001316/0.001316, allocations: 172.1 kB / 17.39 MB, free: 4.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.737/1.737, allocations: 223.3 MB / 241.4 MB, free: 9.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007498/0.0007498, allocations: 91.05 kB / 292.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 12 kB / 352.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2139, allocations: 50.41 MB / 402.8 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09321/0.3072, allocations: 81.5 MB / 484.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.3074, allocations: 83.95 kB / 484.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03288/0.3403, allocations: 12.25 MB / 496.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3404, allocations: 3.938 kB / 496.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.3404, allocations: 12 kB / 496.6 MB, free: 2.391 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001501/0.3419, allocations: 0.7684 MB / 497.4 MB, free: 1.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.342, allocations: 11.97 kB / 497.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3421, allocations: 60.28 kB / 497.4 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.3426, allocations: 360.3 kB / 497.8 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.3427, allocations: 41.69 kB / 497.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.3428, allocations: 48.38 kB / 497.9 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.3436, allocations: 443 kB / 498.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3436, allocations: 11.88 kB / 498.3 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.3437, allocations: 20 kB / 498.3 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3437, allocations: 12 kB / 498.4 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.3445, allocations: 405 kB / 498.8 MB, free: 148 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.3471, allocations: 1.597 MB / 0.4886 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.3478, allocations: 415 kB / 0.489 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.3482, allocations: 181.4 kB / 0.4892 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.3483, allocations: 8.312 kB / 0.4892 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.3483, allocations: 42.89 kB / 0.4892 GB, free: 13.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.3483, allocations: 0 / 0.4892 GB, free: 13.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003228/0.3516, allocations: 1.282 MB / 0.4905 GB, free: 12.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.3516, allocations: 55.97 kB / 0.4905 GB, free: 12.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.352, allocations: 401.5 kB / 0.4909 GB, free: 12.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.3521, allocations: 37.7 kB / 0.491 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3522, allocations: 291.9 kB / 0.4912 GB, free: 11.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3524, allocations: 193.2 kB / 0.4914 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.3524, allocations: 8 kB / 0.4914 GB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3525, allocations: 358.8 kB / 0.4918 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3529, allocations: 185.2 kB / 0.492 GB, free: 10.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.3534, allocations: 307 kB / 0.4922 GB, free: 10.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.3544, allocations: 0.5024 MB / 0.4927 GB, free: 10.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3544, allocations: 0 / 0.4927 GB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001405/0.3558, allocations: 0.7498 MB / 0.4935 GB, free: 9.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3558, allocations: 8 kB / 0.4935 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3558, allocations: 3.938 kB / 0.4935 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.3564, allocations: 196.6 kB / 0.4937 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.3569, allocations: 111.8 kB / 0.4938 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.3607, allocations: 3.896 MB / 0.4976 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.3611, allocations: 36.05 kB / 0.4976 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3612, allocations: 24.09 kB / 0.4976 GB, free: 4.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.3614, allocations: 193.6 kB / 0.4978 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.3615, allocations: 43.44 kB / 0.4979 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.3616, allocations: 61.03 kB / 0.4979 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3616, allocations: 4 kB / 0.4979 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.3617, allocations: 4 kB / 0.4979 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3617, allocations: 7.984 kB / 0.4979 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.3639, allocations: 1.316 MB / 0.4992 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.3639, allocations: 0 / 0.4992 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.3642, allocations: 76.02 kB / 0.4993 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.3646, allocations: 153.6 kB / 0.4994 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.3647, allocations: 12 kB / 0.4994 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2/0.5647, allocations: 3.697 MB / 0.5031 GB, free: 97.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5647, allocations: 1.781 kB / 0.5031 GB, free: 97.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.5661, allocations: 0.7171 MB / 0.5038 GB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5662, allocations: 122.8 kB / 0.5039 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.5663, allocations: 11.62 kB / 0.5039 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.5666, allocations: 31.7 kB / 0.5039 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.5667, allocations: 49.59 kB / 0.504 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.5667, allocations: 13.98 kB / 0.504 GB, free: 97.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000335/0.5671, allocations: 274.1 kB / 0.5042 GB, free: 97.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5671, allocations: 0 / 0.5042 GB, free: 97.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007263/0.5678, allocations: 152.4 kB / 0.5044 GB, free: 97.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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.0001474/0.568, allocations: 118.1 kB / 0.5045 GB, free: 97.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.5694, allocations: 0.8028 MB / 0.5053 GB, free: 97.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5694, allocations: 0 / 0.5053 GB, free: 97.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007531/0.5701, allocations: 0.5325 MB / 0.5058 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.5707, allocations: 48.48 kB / 0.5059 GB, free: 96.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.5724, allocations: 1.106 MB / 0.5069 GB, free: 96.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.5729, allocations: 0.8625 MB / 0.5078 GB, free: 95.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.5731, allocations: 49.75 kB / 0.5078 GB, free: 95.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.5732, allocations: 28.72 kB / 0.5078 GB, free: 95.57 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5732, allocations: 0 / 0.5078 GB, free: 95.57 MB / 378.7 MB Notification: Performance of Templates: time 0.007958/0.5812, allocations: 4.554 MB / 0.5123 GB, free: 95.39 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches