Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [: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.00105/0.00105, allocations: 181.4 kB / 8.136 MB, free: 2.207 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.237/1.237, allocations: 221.4 MB / 230 MB, free: 3.215 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.0009732/0.0009732, allocations: 91.5 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.075e-06, allocations: 0 / 336.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2305, allocations: 50.39 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08916/0.3197, allocations: 80.38 MB / 467.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.32, allocations: 79.95 kB / 467.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01943/0.3394, allocations: 6.798 MB / 474.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3395, allocations: 8 kB / 474.2 MB, free: 15.48 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000784/0.3403, allocations: 0.5301 MB / 474.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3403, allocations: 12.03 kB / 474.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.3404, allocations: 31.62 kB / 474.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.3408, allocations: 271.5 kB / 475 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3408, allocations: 8 kB / 475 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.3409, allocations: 19.91 kB / 475 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003392/0.3412, allocations: 165.3 kB / 475.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.3416, allocations: 192.8 kB / 475.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3416, allocations: 0 / 475.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.3416, allocations: 0 / 475.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3416, allocations: 12.56 kB / 475.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.3433, allocations: 0.962 MB / 476.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.3435, allocations: 125.7 kB / 476.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.3437, allocations: 102.1 kB / 476.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3438, allocations: 4.062 kB / 476.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3438, allocations: 38.56 kB / 476.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.3438, allocations: 0 / 476.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003598/0.3474, allocations: 1.102 MB / 477.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3475, allocations: 55.41 kB / 477.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3477, allocations: 183.1 kB / 478 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3477, allocations: 29.7 kB / 478 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.3478, allocations: 164.1 kB / 478.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.3479, allocations: 114.3 kB / 478.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.3479, allocations: 2.25 kB / 478.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.348, allocations: 346.7 kB / 478.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3482, allocations: 84 kB / 478.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.3484, allocations: 145 kB / 478.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.3486, allocations: 105.5 kB / 478.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3486, allocations: 8 kB / 478.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001482/0.3501, allocations: 484.8 kB / 479.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3501, allocations: 4 kB / 479.4 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3501, allocations: 6.656 kB / 479.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/0.351, allocations: 189.5 kB / 479.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3513, allocations: 55.97 kB / 479.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.3559, allocations: 3.569 MB / 483.2 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.3562, allocations: 8.078 kB / 483.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.3562, allocations: 19.94 kB / 483.3 MB, free: 5.852 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.3563, allocations: 118.5 kB / 483.4 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.3564, allocations: 23.72 kB / 483.4 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.3565, allocations: 34.64 kB / 483.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3565, allocations: 4 kB / 483.4 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3565, allocations: 4.844 kB / 483.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3565, allocations: 0 / 483.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.3584, allocations: 0.8606 MB / 484.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3585, allocations: 7.844 kB / 484.3 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.3587, allocations: 43.91 kB / 484.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.3595, allocations: 183 kB / 484.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3595, allocations: 8 kB / 484.5 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/0.3637, allocations: 3.577 MB / 488.1 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3638, allocations: 4 kB / 488.1 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001701/0.3655, allocations: 0.679 MB / 488.8 MB, free: 0 / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3656, allocations: 104.7 kB / 488.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3656, allocations: 4 kB / 488.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.3659, allocations: 4 kB / 488.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.366, allocations: 15.97 kB / 488.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.366, allocations: 15.98 kB / 488.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001359/0.3661, allocations: 141.9 kB / 489.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006528/0.3668, allocations: 92.06 kB / 489.2 MB, free: 15.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002885/0.3671, allocations: 115.2 kB / 489.3 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008514/0.368, allocations: 475.2 kB / 489.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.368, allocations: 0 / 489.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.3684, allocations: 356.1 kB / 490.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3687, allocations: 12.58 kB / 490.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3698, allocations: 478.6 kB / 490.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.3702, allocations: 0.8084 MB / 491.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3702, allocations: 3.938 kB / 491.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Templates: time 0.009666/0.3799, allocations: 5.509 MB / 496.9 MB, free: 7.816 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches