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.0008723/0.0008722, allocations: 91.31 kB / 16.65 MB, free: 6.598 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.0009933/0.0009932, allocations: 184 kB / 17.57 MB, free: 6.199 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.583/1.583, allocations: 223.2 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003136, allocations: 7.938 kB / 301.4 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 50.42 MB / 351.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002431/0.1441, allocations: 1.732 MB / 353.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.1451, allocations: 0.5572 MB / 354.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.1451, allocations: 0 / 354.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.1452, allocations: 23.84 kB / 354.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1454, allocations: 39.69 kB / 354.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1457, allocations: 71.91 kB / 354.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1459, allocations: 175.2 kB / 354.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1461, allocations: 41.45 kB / 354.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1463, allocations: 71.72 kB / 354.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1464, allocations: 71.67 kB / 354.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.1464, allocations: 11.94 kB / 354.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.841e-05/0.1465, allocations: 8 kB / 354.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.1465, allocations: 31.84 kB / 354.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1466, allocations: 97.28 kB / 354.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1468, allocations: 163.6 kB / 354.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1469, allocations: 0 / 354.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1469, allocations: 0 / 354.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1469, allocations: 0 / 354.9 MB, free: 0.5977 MB / 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.0007674/0.1477, allocations: 446.9 kB / 355.3 MB, free: 116 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1477, allocations: 8.031 kB / 355.4 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.1478, allocations: 16.75 kB / 355.4 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.148, allocations: 196.2 kB / 355.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.148, allocations: 8.312 kB / 355.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.1481, allocations: 12.38 kB / 355.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.1484, allocations: 156.4 kB / 355.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1484, allocations: 3.906 kB / 355.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.1485, allocations: 8 kB / 355.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1485, allocations: 4 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.1488, allocations: 95.94 kB / 355.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.1497, allocations: 0.5071 MB / 356.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.15, allocations: 106.5 kB / 356.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.1502, allocations: 68.97 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1503, allocations: 8 kB / 356.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.1503, allocations: 38.5 kB / 356.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1503, allocations: 0 / 356.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004787/0.1508, allocations: 153.5 kB / 356.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1509, allocations: 102.8 kB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.151, allocations: 161.8 kB / 357 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1511, allocations: 29.7 kB / 357 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.1512, allocations: 119.8 kB / 357.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1512, allocations: 31.58 kB / 357.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1512, allocations: 17.72 kB / 357.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1514, allocations: 318.8 kB / 357.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1515, allocations: 43.97 kB / 357.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1516, allocations: 84.2 kB / 357.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.1519, allocations: 110.8 kB / 357.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1519, allocations: 0 / 357.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003457/0.1523, allocations: 157.4 kB / 357.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1523, allocations: 7.938 kB / 357.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1523, allocations: 8 kB / 357.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1523, allocations: 0 / 357.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.1529, allocations: 87.94 kB / 358 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1544, allocations: 1.401 MB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1546, allocations: 19.92 kB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1546, allocations: 4 kB / 359.4 MB, free: 11.7 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.0001275/0.1547, allocations: 129.9 kB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.1548, allocations: 7.906 kB / 359.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.1553, allocations: 159.1 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1553, allocations: 4 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1553, allocations: 0 / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1553, allocations: 0 / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.1561, allocations: 476 kB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1561, allocations: 0 / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1562, allocations: 27.98 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.1565, allocations: 36.77 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1566, allocations: 12.02 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.1577, allocations: 1.297 MB / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1577, allocations: 8.031 kB / 361.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.1584, allocations: 297 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.1584, allocations: 92.94 kB / 361.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1585, allocations: 7.938 kB / 361.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1586, allocations: 20.05 kB / 361.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1587, allocations: 7.984 kB / 362 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1587, allocations: 8 kB / 362 MB, free: 8.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.987e-05/0.1588, allocations: 119.3 kB / 362.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1588, allocations: 0 / 362.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1591, allocations: 39.88 kB / 362.1 MB, free: 8.723 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.0001518/0.1593, allocations: 111.1 kB / 362.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.16, allocations: 139.9 kB / 362.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.16, allocations: 0 / 362.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.1604, allocations: 162.7 kB / 362.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1607, allocations: 15.89 kB / 362.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1626, allocations: 0.6179 MB / 363.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1629, allocations: 0.7121 MB / 363.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.163, allocations: 16.41 kB / 363.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.1631, allocations: 23.42 kB / 363.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1631, allocations: 0 / 363.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of Templates: time 0.005313/0.1684, allocations: 1.514 MB / 365.4 MB, free: 5.352 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 -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/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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches