Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003355/0.3383, allocations: 2.06 MB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3394, allocations: 0.6467 MB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.3395, allocations: 3.938 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.765e-05/0.3396, allocations: 19.84 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.3397, allocations: 47.56 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.3401, allocations: 107.8 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3403, allocations: 187.2 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.3405, allocations: 49.5 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.3407, allocations: 83.7 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3408, allocations: 79.62 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.3408, allocations: 12 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.3409, allocations: 27.98 kB / 413.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.3409, allocations: 35.92 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.341, allocations: 79.58 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.3412, allocations: 184.5 kB / 413.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3412, allocations: 0 / 413.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.3412, allocations: 0 / 413.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3413, allocations: 0 / 413.6 MB, free: 13.99 MB / 334.1 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.000778/0.342, allocations: 482.8 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3421, allocations: 11.97 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.3425, allocations: 52.7 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3427, allocations: 208.1 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3428, allocations: 12.38 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3428, allocations: 16.36 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.3431, allocations: 152.3 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3431, allocations: 0 / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.3432, allocations: 8 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3432, allocations: 0 / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.3434, allocations: 95.94 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.3443, allocations: 0.507 MB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3446, allocations: 106.5 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3448, allocations: 68.81 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3449, allocations: 4 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3449, allocations: 34.5 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3449, allocations: 0 / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004467/0.3454, allocations: 149.9 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.3454, allocations: 102.8 kB / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3456, allocations: 162.1 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3456, allocations: 29.7 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.3457, allocations: 127.7 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3457, allocations: 23.66 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.3458, allocations: 33.69 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.3459, allocations: 322.8 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.346, allocations: 35.98 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3462, allocations: 76.27 kB / 416.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3465, allocations: 114.5 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3465, allocations: 0 / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003312/0.3468, allocations: 145.5 kB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3469, allocations: 14.78 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3469, allocations: 4 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3469, allocations: 0 / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.3475, allocations: 79.92 kB / 416.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3489, allocations: 1.504 MB / 418.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3491, allocations: 28.11 kB / 418.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.3491, allocations: 0 / 418.2 MB, free: 8.914 MB / 334.1 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 0.0001066/0.3492, allocations: 133.7 kB / 418.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3492, allocations: 11.91 kB / 418.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.3497, allocations: 155.1 kB / 418.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3497, allocations: 0 / 418.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3497, allocations: 0 / 418.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.3498, allocations: 92.94 kB / 418.6 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3498, allocations: 11.94 kB / 418.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.35, allocations: 15.98 kB / 418.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.35, allocations: 4 kB / 418.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005627/0.3506, allocations: 229.6 kB / 418.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005075/0.3511, allocations: 338.5 kB / 419.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001228/0.3513, allocations: 44.02 kB / 419.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3514, allocations: 119.2 kB / 419.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of Backend: time 5.91e-07/0.3514, allocations: 0 / 419.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.3525, allocations: 202.1 kB / 419.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008988/0.3534, allocations: 0.815 MB / 420.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of Templates: time 0.004681/0.3581, allocations: 1.724 MB / 422.1 MB, free: 4.938 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches