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.001074/0.001074, allocations: 112.4 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001275, allocations: 217.9 kB / 19.41 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.046/2.046, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 71.86 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4743, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.006233/0.4805, allocations: 2.049 MB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.4828, allocations: 0.6506 MB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.483, allocations: 4 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.4831, allocations: 19.78 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.4835, allocations: 47.56 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.4842, allocations: 99.81 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.4846, allocations: 187.3 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.4848, allocations: 53.52 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.4852, allocations: 83.64 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.4854, allocations: 79.67 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.4854, allocations: 20 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.4856, allocations: 27.98 kB / 413.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.4856, allocations: 35.84 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4858, allocations: 75.61 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.4862, allocations: 184.5 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.4862, allocations: 4 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4862, allocations: 0 / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4862, allocations: 0 / 413.5 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.00125/0.4875, allocations: 470.9 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.4876, allocations: 8.031 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.4882, allocations: 56.7 kB / 414.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.4887, allocations: 220 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.4888, allocations: 8.375 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.4888, allocations: 12.38 kB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.4894, allocations: 159.4 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4894, allocations: 0 / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.4894, allocations: 4 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4895, allocations: 4 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.4899, allocations: 95.92 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.4916, allocations: 0.5148 MB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.4921, allocations: 106.4 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.4925, allocations: 72.81 kB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4925, allocations: 0 / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.4926, allocations: 34.5 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.4926, allocations: 4 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008087/0.4934, allocations: 137.5 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.4935, allocations: 114.8 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.4938, allocations: 154.2 kB / 415.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.4939, allocations: 29.7 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.494, allocations: 123.7 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.4941, allocations: 23.86 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4942, allocations: 33.64 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4944, allocations: 330.8 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.4947, allocations: 35.98 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.495, allocations: 80.25 kB / 416.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.4956, allocations: 102.9 kB / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4956, allocations: 0 / 416.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006245/0.4962, allocations: 149.4 kB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.4963, allocations: 11.94 kB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4963, allocations: 0 / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.4963, allocations: 0 / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.4973, allocations: 83.91 kB / 416.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.4998, allocations: 1.5 MB / 418.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.5001, allocations: 23.92 kB / 418.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.5002, allocations: 7.938 kB / 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.0002117/0.5004, allocations: 129.7 kB / 418.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.5005, allocations: 7.906 kB / 418.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007876/0.5013, allocations: 159.3 kB / 418.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5013, allocations: 0 / 418.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5013, allocations: 3.938 kB / 418.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5013, allocations: 0 / 418.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.5026, allocations: 468 kB / 418.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5027, allocations: 3.938 kB / 419 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.5029, allocations: 19.98 kB / 419 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.5035, allocations: 36.86 kB / 419 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.5035, allocations: 4 kB / 419 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.5054, allocations: 1.391 MB / 420.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.5054, allocations: 7.969 kB / 420.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.5064, allocations: 301 kB / 420.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.5065, allocations: 81.02 kB / 420.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.5065, allocations: 19.8 kB / 420.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.5068, allocations: 16.06 kB / 420.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.5069, allocations: 7.984 kB / 420.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.5069, allocations: 4 kB / 420.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.5071, allocations: 119.2 kB / 420.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5071, allocations: 0 / 420.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007139/0.5078, allocations: 39.91 kB / 421 MB, free: 5.863 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.0002176/0.5081, allocations: 103.2 kB / 421.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.5092, allocations: 127.8 kB / 421.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.5092, allocations: 4.062 kB / 421.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.5097, allocations: 166.6 kB / 421.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.5102, allocations: 22.16 kB / 421.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.5128, allocations: 0.5481 MB / 421.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.5133, allocations: 0.7196 MB / 422.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.5134, allocations: 19.42 kB / 422.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5134, allocations: 0 / 422.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Templates: time 0.0073/0.5208, allocations: 2.268 MB / 425 MB, free: 1.816 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