Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001552, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 97.98 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3212, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4419, allocations: 76.97 MB / 451.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4422, allocations: 71.97 kB / 451.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.457, allocations: 3.151 MB / 454.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4571, allocations: 4 kB / 454.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4571, allocations: 4 kB / 454.7 MB, free: 0.5625 MB / 330.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.0009025/0.458, allocations: 450.7 kB / 455.2 MB, free: 76 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4581, allocations: 16.03 kB / 455.2 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.4581, allocations: 11.91 kB / 455.2 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.4583, allocations: 193.4 kB / 455.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4584, allocations: 7.953 kB / 455.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.4584, allocations: 12 kB / 455.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.4589, allocations: 156 kB / 455.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4589, allocations: 0 / 455.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.459, allocations: 4 kB / 455.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.459, allocations: 8 kB / 455.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.4595, allocations: 95.88 kB / 455.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4608, allocations: 0.5071 MB / 456.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.4613, allocations: 110.5 kB / 456.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4614, allocations: 0 / 456.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4614, allocations: 42.52 kB / 456.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.4614, allocations: 0 / 456.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007615/0.4622, allocations: 153.5 kB / 456.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.4623, allocations: 106.8 kB / 456.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.4625, allocations: 145.8 kB / 456.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4625, allocations: 29.92 kB / 456.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4626, allocations: 183.3 kB / 456.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.4627, allocations: 35.52 kB / 457 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.4627, allocations: 0 / 457 MB, free: 14.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4628, allocations: 316.8 kB / 457.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.4631, allocations: 43.97 kB / 457.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.4633, allocations: 81.58 kB / 457.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.4636, allocations: 51.95 kB / 457.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4636, allocations: 0 / 457.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000583/0.4642, allocations: 145.9 kB / 457.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4643, allocations: 4 kB / 457.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4643, allocations: 4.109 kB / 457.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4643, allocations: 7.938 kB / 457.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.4653, allocations: 83.92 kB / 457.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.4671, allocations: 1.386 MB / 459.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.4674, allocations: 36.08 kB / 459.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4675, allocations: 0 / 459.1 MB, free: 11.8 MB / 346.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 (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 0.0001519/0.4676, allocations: 121.8 kB / 459.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.4677, allocations: 11.89 kB / 459.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.4685, allocations: 167.1 kB / 459.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4685, allocations: 4 kB / 459.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.4685, allocations: 0 / 459.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4685, allocations: 3.984 kB / 459.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.4689, allocations: 221.6 kB / 459.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4689, allocations: 0 / 459.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.4691, allocations: 31.98 kB / 459.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/0.4695, allocations: 40.77 kB / 459.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.4696, allocations: 4 kB / 459.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.471, allocations: 1.3 MB / 461 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.471, allocations: 0 / 461 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.472, allocations: 300.4 kB / 461.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.4721, allocations: 92.95 kB / 461.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.4721, allocations: 8 kB / 461.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.4724, allocations: 15.98 kB / 461.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.4725, allocations: 15.97 kB / 461.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4725, allocations: 0 / 461.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4727, allocations: 119.2 kB / 461.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4727, allocations: 0 / 461.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.4731, allocations: 39.94 kB / 461.6 MB, free: 9.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0001529/0.4733, allocations: 99.25 kB / 461.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4745, allocations: 155.9 kB / 461.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4745, allocations: 0 / 461.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.475, allocations: 170.5 kB / 462 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.4752, allocations: 10.06 kB / 462 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.4779, allocations: 0.6358 MB / 462.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4782, allocations: 0.7238 MB / 463.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.4783, allocations: 15.42 kB / 463.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4783, allocations: 0 / 463.4 MB, free: 7.211 MB / 346.7 MB Notification: Performance of Templates: time 0.005289/0.4836, allocations: 2.167 MB / 465.5 MB, free: 5.047 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches