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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 185.2 kB / 8.135 MB, free: 2.191 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.161/1.161, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.0009312/0.0009314, allocations: 89.05 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.101e-06, allocations: 0 / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2232, allocations: 50.39 MB / 386.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3257, allocations: 87.44 MB / 474.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.326, allocations: 91.88 kB / 474.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2359/0.5618, allocations: 34.76 MB / 0.4973 GB, free: 87.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.5619, allocations: 18.66 kB / 0.4973 GB, free: 87.25 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.003967/0.5659, allocations: 1.476 MB / 0.4987 GB, free: 86.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.5659, allocations: 7.688 kB / 0.4987 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.5691, allocations: 494.9 kB / 0.4992 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5694, allocations: 297 kB / 0.4995 GB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.5695, allocations: 50.19 kB / 0.4995 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.5696, allocations: 80.56 kB / 0.4996 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001704/0.5713, allocations: 1.014 MB / 0.5006 GB, free: 86.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.5729, allocations: 1.037 MB / 0.5016 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.573, allocations: 6.312 kB / 0.5016 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.5731, allocations: 3.828 kB / 0.5016 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.5731, allocations: 29.44 kB / 0.5017 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00559/0.5787, allocations: 4.07 MB / 0.5056 GB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.5794, allocations: 0.5244 MB / 0.5061 GB, free: 84.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.5801, allocations: 488.6 kB / 0.5066 GB, free: 84.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.5802, allocations: 107.6 kB / 0.5067 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.5802, allocations: 50.64 kB / 0.5068 GB, free: 84.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 3.155e-06/0.5803, allocations: 0 / 0.5068 GB, free: 84.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.006035/0.5863, allocations: 2.399 MB / 0.5091 GB, free: 84.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.5864, allocations: 91.67 kB / 0.5092 GB, free: 84.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.5867, allocations: 314.6 kB / 0.5095 GB, free: 84.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.5867, allocations: 29.52 kB / 0.5095 GB, free: 83.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.5869, allocations: 441.8 kB / 0.5099 GB, free: 83.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5871, allocations: 404.8 kB / 0.5103 GB, free: 83.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.5871, allocations: 5 kB / 0.5103 GB, free: 83.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.5872, allocations: 364.8 kB / 0.5107 GB, free: 83.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.5877, allocations: 333.4 kB / 0.511 GB, free: 83.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.5883, allocations: 0.5869 MB / 0.5116 GB, free: 82.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009629/0.5893, allocations: 459 kB / 0.512 GB, free: 82.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5893, allocations: 3.844 kB / 0.512 GB, free: 82.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002143/0.5915, allocations: 1.232 MB / 0.5132 GB, free: 82.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5915, allocations: 3.969 kB / 0.5132 GB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5915, allocations: 7.094 kB / 0.5132 GB, free: 82.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.592, allocations: 192.9 kB / 0.5134 GB, free: 82.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5934, allocations: 307.7 kB / 0.5137 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.5965, allocations: 3.745 MB / 0.5174 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.5975, allocations: 66.27 kB / 0.5174 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5976, allocations: 56.75 kB / 0.5175 GB, free: 80.02 MB / 378.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.0001984/0.5979, allocations: 134.8 kB / 0.5176 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.598, allocations: 66.44 kB / 0.5177 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.6004, allocations: 1.151 MB / 0.5188 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.6004, allocations: 10.97 kB / 0.5188 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6004, allocations: 3.406 kB / 0.5188 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6004, allocations: 11.23 kB / 0.5188 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.6039, allocations: 2.239 MB / 0.521 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.6039, allocations: 0.9375 kB / 0.521 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.6051, allocations: 226.6 kB / 0.5212 GB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.6056, allocations: 163.9 kB / 0.5214 GB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.228e-05/0.6057, allocations: 13.12 kB / 0.5214 GB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.6088, allocations: 3.552 MB / 0.5249 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6089, allocations: 5.219 kB / 0.5249 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002643/0.6115, allocations: 1.646 MB / 0.5265 GB, free: 74.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.6119, allocations: 228.9 kB / 0.5267 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.612, allocations: 0 / 0.5267 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/0.6128, allocations: 64.41 kB / 0.5267 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.613, allocations: 75.48 kB / 0.5268 GB, free: 74.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.6131, allocations: 41.64 kB / 0.5269 GB, free: 74.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002062/0.6133, allocations: 230.2 kB / 0.5271 GB, free: 74.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001047/0.6143, allocations: 259.4 kB / 0.5273 GB, free: 73.78 MB / 378.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.0002688/0.6146, allocations: 163.3 kB / 0.5275 GB, free: 73.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.6164, allocations: 1.172 MB / 0.5286 GB, free: 72.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6164, allocations: 4.375 kB / 0.5286 GB, free: 72.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008778/0.6173, allocations: 0.7044 MB / 0.5293 GB, free: 71.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.6176, allocations: 30.75 kB / 0.5293 GB, free: 71.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.6209, allocations: 1.381 MB / 0.5307 GB, free: 70.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/0.6216, allocations: 1.127 MB / 0.5318 GB, free: 69.52 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6216, allocations: 0 / 0.5318 GB, free: 69.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01764/0.6392, allocations: 12.6 MB / 0.5441 GB, free: 61.54 MB / 378.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