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.002208/0.002212, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001107/0.001107, allocations: 90.69 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.175e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09329, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5013, allocations: 76.88 MB / 446 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.5016, allocations: 63.47 kB / 446 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5166, allocations: 3.154 MB / 449.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5166, allocations: 0 / 449.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.5166, allocations: 0 / 449.2 MB, free: 13.55 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.0008488/0.5175, allocations: 433.2 kB / 449.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.5176, allocations: 8.031 kB / 449.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.5176, allocations: 19.8 kB / 449.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.5179, allocations: 185.8 kB / 449.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5179, allocations: 11.64 kB / 449.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.518, allocations: 19.84 kB / 449.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.5183, allocations: 134 kB / 450 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5183, allocations: 0 / 450 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.5184, allocations: 7.875 kB / 450 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5184, allocations: 4 kB / 450 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.5186, allocations: 66.92 kB / 450 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.5199, allocations: 0.5071 MB / 450.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.5202, allocations: 74.06 kB / 450.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.5203, allocations: 56.34 kB / 450.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.5204, allocations: 3.938 kB / 450.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5204, allocations: 38.33 kB / 450.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.5204, allocations: 0 / 450.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003054/0.5208, allocations: 89.09 kB / 450.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.5208, allocations: 102.8 kB / 450.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.521, allocations: 149.4 kB / 451.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.5211, allocations: 29.52 kB / 451.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5212, allocations: 182 kB / 451.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.5212, allocations: 23.64 kB / 451.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.5213, allocations: 7.312 kB / 451.3 MB, free: 11.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5214, allocations: 310.8 kB / 451.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.5215, allocations: 27.38 kB / 451.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.5217, allocations: 76.58 kB / 451.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.5218, allocations: 31.48 kB / 451.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5218, allocations: 0 / 451.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003037/0.5221, allocations: 115.1 kB / 451.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5222, allocations: 4 kB / 451.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5222, allocations: 7.984 kB / 451.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5222, allocations: 8 kB / 451.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5232, allocations: 87.84 kB / 451.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.525, allocations: 1.376 MB / 453.3 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.5253, allocations: 35.64 kB / 453.4 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.5254, allocations: 4 kB / 453.4 MB, free: 9.305 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001049/0.5255, allocations: 108.9 kB / 453.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.5256, allocations: 11.91 kB / 453.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.5261, allocations: 129.5 kB / 453.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5261, allocations: 0 / 453.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.5261, allocations: 0 / 453.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5261, allocations: 8.031 kB / 453.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/0.527, allocations: 442.1 kB / 454 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.527, allocations: 4 kB / 454.1 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.5273, allocations: 23.92 kB / 454.1 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.5276, allocations: 40.8 kB / 454.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.5277, allocations: 7.922 kB / 454.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.5291, allocations: 1.286 MB / 455.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5291, allocations: 0 / 455.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.5297, allocations: 277.1 kB / 455.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.5298, allocations: 84.95 kB / 455.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.5299, allocations: 11.98 kB / 455.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.5302, allocations: 23.88 kB / 455.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.5303, allocations: 11.81 kB / 455.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.5303, allocations: 8.047 kB / 455.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.5304, allocations: 111.8 kB / 455.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5304, allocations: 0 / 455.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000402/0.5309, allocations: 43.72 kB / 456 MB, free: 6.625 MB / 330.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 () * 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.0001756/0.531, allocations: 99.23 kB / 456.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.532, allocations: 119.1 kB / 456.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.532, allocations: 0 / 456.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.5324, allocations: 153.9 kB / 456.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.5326, allocations: 8.734 kB / 456.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.5349, allocations: 456.9 kB / 456.8 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5352, allocations: 0.7199 MB / 457.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.5353, allocations: 15.42 kB / 457.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5353, allocations: 0 / 457.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of Templates: time 0.005398/0.5407, allocations: 2.141 MB / 459.7 MB, free: 2.918 MB / 330.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