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.001307/0.001312, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001222/0.001222, allocations: 107.2 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009325/0.0009328, allocations: 43.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3062, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003875/0.3101, allocations: 2.074 MB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.3112, allocations: 0.5683 MB / 402.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.3113, allocations: 4 kB / 402.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.417e-05/0.3113, allocations: 11.86 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3115, allocations: 35.75 kB / 402.2 MB, free: 30.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3119, allocations: 83.78 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3121, allocations: 175.2 kB / 402.4 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3122, allocations: 45.47 kB / 402.5 MB, free: 30.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3124, allocations: 79.69 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.3125, allocations: 79.62 kB / 402.6 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.3126, allocations: 8 kB / 402.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.3126, allocations: 8 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3126, allocations: 35.91 kB / 402.7 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.3127, allocations: 71.58 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.3129, allocations: 157 kB / 402.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3129, allocations: 4 kB / 402.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3129, allocations: 0 / 402.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3129, allocations: 0 / 402.9 MB, free: 29.95 MB / 298.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.0007376/0.3136, allocations: 474.7 kB / 403.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3137, allocations: 12.03 kB / 403.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.3137, allocations: 12.84 kB / 403.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3139, allocations: 198.3 kB / 403.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3139, allocations: 12.36 kB / 403.6 MB, free: 29.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.314, allocations: 4.375 kB / 403.6 MB, free: 29.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3142, allocations: 164.3 kB / 403.8 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3143, allocations: 4 kB / 403.8 MB, free: 28.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.3143, allocations: 4 kB / 403.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3143, allocations: 4 kB / 403.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.3145, allocations: 91.94 kB / 403.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.3153, allocations: 0.507 MB / 404.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.3156, allocations: 110.5 kB / 404.5 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3158, allocations: 68.83 kB / 404.5 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3158, allocations: 0 / 404.5 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.3158, allocations: 42.5 kB / 404.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.3158, allocations: 0 / 404.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004203/0.3162, allocations: 145.4 kB / 404.7 MB, free: 27.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3163, allocations: 110.8 kB / 404.8 MB, free: 27.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3164, allocations: 149.9 kB / 405 MB, free: 27.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3164, allocations: 29.7 kB / 405 MB, free: 27.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.3165, allocations: 119.9 kB / 405.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3165, allocations: 31.7 kB / 405.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.3166, allocations: 33.69 kB / 405.2 MB, free: 27.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.727e-05/0.3166, allocations: 326.8 kB / 405.5 MB, free: 27.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3168, allocations: 35.98 kB / 405.5 MB, free: 27.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3169, allocations: 76.27 kB / 405.6 MB, free: 26.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3171, allocations: 110.8 kB / 405.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3171, allocations: 0 / 405.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002833/0.3174, allocations: 141.5 kB / 405.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3174, allocations: 11.97 kB / 405.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3174, allocations: 4 kB / 405.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3175, allocations: 0 / 405.9 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.318, allocations: 79.92 kB / 406 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.319, allocations: 1.405 MB / 407.4 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3192, allocations: 24.14 kB / 407.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3192, allocations: 7.984 kB / 407.4 MB, free: 25.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.3193, allocations: 125.7 kB / 407.5 MB, free: 24.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3194, allocations: 15.81 kB / 407.5 MB, free: 24.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.3198, allocations: 159.1 kB / 407.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3198, allocations: 0 / 407.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.3198, allocations: 0 / 407.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3198, allocations: 0 / 407.7 MB, free: 24.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.3204, allocations: 464 kB / 408.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3204, allocations: 4 kB / 408.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3205, allocations: 27.97 kB / 408.2 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/0.3208, allocations: 40.7 kB / 408.2 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3208, allocations: 8.031 kB / 408.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/0.3216, allocations: 1.293 MB / 409.5 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3216, allocations: 0 / 409.5 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3227, allocations: 1.263 MB / 410.8 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.3228, allocations: 89.03 kB / 410.9 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3228, allocations: 0 / 410.9 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3229, allocations: 19.98 kB / 410.9 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.323, allocations: 7.875 kB / 410.9 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.323, allocations: 7.984 kB / 410.9 MB, free: 21.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.661e-05/0.3231, allocations: 126.4 kB / 411 MB, free: 21.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3231, allocations: 4.062 kB / 411 MB, free: 21.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.3235, allocations: 51.84 kB / 411.1 MB, free: 20.99 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001502/0.3237, allocations: 95.25 kB / 411.2 MB, free: 20.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.3243, allocations: 143.9 kB / 411.3 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3243, allocations: 0 / 411.3 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.3246, allocations: 150.7 kB / 411.5 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3249, allocations: 23.92 kB / 411.5 MB, free: 20.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3264, allocations: 0.6911 MB / 412.2 MB, free: 19.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.3266, allocations: 0.716 MB / 412.9 MB, free: 19.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.3267, allocations: 16.41 kB / 412.9 MB, free: 19.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.3267, allocations: 11.44 kB / 412.9 MB, free: 19.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3267, allocations: 0 / 412.9 MB, free: 19.05 MB / 298.7 MB Notification: Performance of Templates: time 0.004147/0.3309, allocations: 1.618 MB / 414.5 MB, free: 17.45 MB / 298.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@2/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