Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 176.4 kB / 8.348 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.542/1.542, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0008895/0.0008896, allocations: 97.36 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.658e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09202, allocations: 50.42 MB / 387.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2734/0.3655, allocations: 77.66 MB / 465.1 MB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3658, allocations: 71.95 kB / 465.2 MB, free: 1.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009367/0.3752, allocations: 3.26 MB / 468.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3752, allocations: 0 / 468.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3752, allocations: 4 kB / 468.5 MB, free: 13.84 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005681/0.3758, allocations: 430.7 kB / 468.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3758, allocations: 8.031 kB / 468.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.3759, allocations: 19.8 kB / 468.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3761, allocations: 189.6 kB / 469.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3761, allocations: 4 kB / 469.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3761, allocations: 7.906 kB / 469.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001416/0.3763, allocations: 63.98 kB / 469.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3765, allocations: 132 kB / 469.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3765, allocations: 0 / 469.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3765, allocations: 0 / 469.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3765, allocations: 224 / 469.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.3773, allocations: 491.8 kB / 469.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3775, allocations: 74.48 kB / 469.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3776, allocations: 52.86 kB / 469.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3776, allocations: 4 kB / 469.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3777, allocations: 34.55 kB / 469.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3777, allocations: 0 / 469.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002161/0.3779, allocations: 85.69 kB / 470 MB, free: 12.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.378, allocations: 106.8 kB / 470.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3781, allocations: 136.8 kB / 470.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3781, allocations: 29.7 kB / 470.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3782, allocations: 123.9 kB / 470.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3782, allocations: 23.66 kB / 470.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.3782, allocations: 0 / 470.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.3783, allocations: 326.8 kB / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.3784, allocations: 23.98 kB / 470.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.3784, allocations: 61.16 kB / 470.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.3785, allocations: 32.02 kB / 470.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3785, allocations: 0 / 470.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001772/0.3787, allocations: 121.3 kB / 471 MB, free: 11.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3787, allocations: 9.25 kB / 471 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3787, allocations: 0 / 471 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3787, allocations: 0 / 471 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.3793, allocations: 83.98 kB / 471.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.3805, allocations: 1.331 MB / 472.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3806, allocations: 27.86 kB / 472.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3807, allocations: 0 / 472.4 MB, free: 9.512 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.435e-05/0.3808, allocations: 114.6 kB / 472.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.3808, allocations: 12.03 kB / 472.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.3811, allocations: 127.1 kB / 472.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3811, allocations: 4 kB / 472.7 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.3811, allocations: 3.938 kB / 472.7 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3812, allocations: 0 / 472.7 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.3817, allocations: 404.6 kB / 473.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3817, allocations: 0 / 473.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3818, allocations: 27.97 kB / 473.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.3821, allocations: 36.83 kB / 473.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3821, allocations: 0 / 473.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008787/0.383, allocations: 1.252 MB / 474.4 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.383, allocations: 4.188 kB / 474.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3833, allocations: 258.8 kB / 474.7 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.3834, allocations: 89 kB / 474.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3834, allocations: 8 kB / 474.7 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3836, allocations: 20.05 kB / 474.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3837, allocations: 7.984 kB / 474.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3837, allocations: 0 / 474.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.3838, allocations: 115.3 kB / 474.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3838, allocations: 0 / 474.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.3841, allocations: 35.91 kB / 474.9 MB, free: 6.789 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.3842, allocations: 107.2 kB / 475 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.3848, allocations: 119.8 kB / 475.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3848, allocations: 0 / 475.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.385, allocations: 133.8 kB / 475.3 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.3852, allocations: 4.188 kB / 475.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3864, allocations: 430 kB / 475.7 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3867, allocations: 0.7196 MB / 476.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.3868, allocations: 16.42 kB / 476.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.3868, allocations: 15.42 kB / 476.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3868, allocations: 0 / 476.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of Templates: time 0.003577/0.3904, allocations: 1.329 MB / 477.8 MB, free: 3.867 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches