Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 113 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 242.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 55.62 kB / 302.1 MB, free: 5.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1334, allocations: 49.43 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003519/0.137, allocations: 2.04 MB / 353.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.138, allocations: 0.5688 MB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.138, allocations: 8 kB / 354.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.1381, allocations: 15.86 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1383, allocations: 43.56 kB / 354.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1386, allocations: 97.8 kB / 354.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1389, allocations: 183.2 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.139, allocations: 53.45 kB / 354.5 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.1392, allocations: 79.7 kB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1393, allocations: 75.67 kB / 354.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1393, allocations: 16 kB / 354.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.1394, allocations: 16 kB / 354.7 MB, free: 476 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.801e-05/0.1394, allocations: 35.84 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.1395, allocations: 79.59 kB / 354.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1397, allocations: 171.4 kB / 355 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1397, allocations: 4 kB / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1397, allocations: 0 / 355 MB, free: 184 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1398, allocations: 4 kB / 355 MB, free: 180 kB / 286.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.0008875/0.1407, allocations: 466.8 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1407, allocations: 15.89 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.1408, allocations: 16.75 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.141, allocations: 196.2 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.141, allocations: 8.375 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.141, allocations: 4.375 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.1413, allocations: 161.9 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1414, allocations: 0 / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1414, allocations: 4 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1414, allocations: 11.94 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1417, allocations: 91.94 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009245/0.1426, allocations: 0.4993 MB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1429, allocations: 110.5 kB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1431, allocations: 68.83 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1432, allocations: 8.125 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1432, allocations: 38.5 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1432, allocations: 0 / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004714/0.1437, allocations: 145.5 kB / 356.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.1438, allocations: 106.8 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1439, allocations: 157.9 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.144, allocations: 29.7 kB / 357.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.1441, allocations: 127.7 kB / 357.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1441, allocations: 23.66 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1442, allocations: 37.69 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1443, allocations: 322.8 kB / 357.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1444, allocations: 35.98 kB / 357.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1446, allocations: 76.27 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1448, allocations: 102.5 kB / 357.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1448, allocations: 0 / 357.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003342/0.1452, allocations: 149.5 kB / 357.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1452, allocations: 7.938 kB / 357.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1452, allocations: 0 / 357.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1452, allocations: 4 kB / 357.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.1458, allocations: 75.92 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.1472, allocations: 1.508 MB / 359.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1474, allocations: 19.89 kB / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1474, allocations: 7.938 kB / 359.5 MB, free: 11.18 MB / 302.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.0001112/0.1476, allocations: 121.8 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1476, allocations: 12 kB / 359.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.148, allocations: 155.5 kB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1481, allocations: 0 / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1481, allocations: 3.938 kB / 359.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1481, allocations: 0 / 359.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.1488, allocations: 476 kB / 360.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1488, allocations: 0 / 360.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.1489, allocations: 28.02 kB / 360.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.1492, allocations: 28.83 kB / 360.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1492, allocations: 4 kB / 360.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.1503, allocations: 1.391 MB / 361.7 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1503, allocations: 3.938 kB / 361.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.1509, allocations: 308.9 kB / 362 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.1509, allocations: 85.05 kB / 362.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.151, allocations: 8 kB / 362.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1511, allocations: 15.98 kB / 362.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1512, allocations: 7.984 kB / 362.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.1512, allocations: 4 kB / 362.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.503e-05/0.1513, allocations: 123.3 kB / 362.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 0 / 362.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1516, allocations: 39.94 kB / 362.3 MB, free: 8.125 MB / 302.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.0001618/0.1518, allocations: 111.1 kB / 362.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006873/0.1525, allocations: 132 kB / 362.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1525, allocations: 4 kB / 362.6 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.1528, allocations: 166.5 kB / 362.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1531, allocations: 12 kB / 362.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1545, allocations: 0.5242 MB / 363.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1548, allocations: 0.7158 MB / 364 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.714e-05/0.1549, allocations: 4.562 kB / 364 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.1549, allocations: 19.42 kB / 364 MB, free: 6.371 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.155, allocations: 0 / 364 MB, free: 6.371 MB / 302.1 MB Notification: Performance of Templates: time 0.004512/0.1595, allocations: 1.649 MB / 365.7 MB, free: 4.73 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches