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.001355/0.001355, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4155, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003503/0.419, allocations: 2.057 MB / 411.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.4204, allocations: 0.6506 MB / 412 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.4205, allocations: 11.88 kB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.4207, allocations: 19.78 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.4209, allocations: 43.64 kB / 412 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.4214, allocations: 111.7 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.4217, allocations: 183.3 kB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.4219, allocations: 53.52 kB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.4221, allocations: 87.64 kB / 412.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.4222, allocations: 75.67 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.4223, allocations: 16 kB / 412.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.4224, allocations: 24 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.4224, allocations: 35.84 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.4225, allocations: 79.59 kB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.4228, allocations: 184.5 kB / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4228, allocations: 0 / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4228, allocations: 0 / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4228, allocations: 4 kB / 412.9 MB, free: 13.97 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.0008442/0.4237, allocations: 470.9 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4237, allocations: 12.03 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.4242, allocations: 56.7 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4245, allocations: 216 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4245, allocations: 8.375 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.4246, allocations: 12.38 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.4249, allocations: 160.3 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4249, allocations: 0 / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.425, allocations: 4 kB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.425, allocations: 0 / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.4253, allocations: 91.94 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.4262, allocations: 0.5148 MB / 414.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.4265, allocations: 102.5 kB / 414.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.4267, allocations: 60.83 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4267, allocations: 7.938 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4268, allocations: 34.5 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.4268, allocations: 3.984 kB / 414.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004609/0.4272, allocations: 145.7 kB / 414.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.4273, allocations: 106.8 kB / 414.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.4275, allocations: 158.2 kB / 415 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4275, allocations: 25.7 kB / 415 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.4276, allocations: 139.7 kB / 415.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.4276, allocations: 19.72 kB / 415.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.4277, allocations: 29.64 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4278, allocations: 326.8 kB / 415.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4279, allocations: 35.97 kB / 415.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4281, allocations: 88.14 kB / 415.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.4283, allocations: 98.53 kB / 415.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4283, allocations: 4.031 kB / 415.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000335/0.4287, allocations: 141.5 kB / 415.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.4287, allocations: 10.75 kB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4287, allocations: 0 / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4288, allocations: 4 kB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.4294, allocations: 87.89 kB / 416 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.4308, allocations: 1.504 MB / 417.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.431, allocations: 23.92 kB / 417.5 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.431, allocations: 3.938 kB / 417.5 MB, free: 8.895 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.0001141/0.4311, allocations: 133.8 kB / 417.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4312, allocations: 11.91 kB / 417.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.4316, allocations: 151.2 kB / 417.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4316, allocations: 8 kB / 417.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4316, allocations: 3.938 kB / 417.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4317, allocations: 0 / 417.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.4324, allocations: 460 kB / 418.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4324, allocations: 3.984 kB / 418.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.4325, allocations: 27.92 kB / 418.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.4328, allocations: 24.84 kB / 418.3 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.4328, allocations: 3.984 kB / 418.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.434, allocations: 1.398 MB / 419.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.434, allocations: 8.094 kB / 419.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.4346, allocations: 293.6 kB / 420 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.4346, allocations: 88.98 kB / 420.1 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4347, allocations: 3.938 kB / 420.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4348, allocations: 19.92 kB / 420.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.4349, allocations: 11.98 kB / 420.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.4349, allocations: 4 kB / 420.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.12e-05/0.435, allocations: 123.3 kB / 420.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.435, allocations: 0 / 420.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.4353, allocations: 39.91 kB / 420.3 MB, free: 5.844 MB / 334.1 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.0001432/0.4355, allocations: 102.8 kB / 420.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.4362, allocations: 140 kB / 420.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4362, allocations: 0 / 420.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.4365, allocations: 162.6 kB / 420.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.4368, allocations: 15.94 kB / 420.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.4383, allocations: 0.5379 MB / 421.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.4386, allocations: 0.708 MB / 422 MB, free: 4.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.4387, allocations: 8.562 kB / 422 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.4387, allocations: 23.42 kB / 422 MB, free: 4.082 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4387, allocations: 7.938 kB / 422 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Templates: time 0.004897/0.4436, allocations: 1.657 MB / 423.7 MB, free: 2.422 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches