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.001643/0.001643, allocations: 104.1 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002436/0.002436, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 68.48 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1283, allocations: 50.52 MB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003498/0.1319, allocations: 2.119 MB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1331, allocations: 0.6506 MB / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.1332, allocations: 0 / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.773e-05/0.1333, allocations: 7.922 kB / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1334, allocations: 43.69 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1338, allocations: 91.83 kB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.134, allocations: 183.3 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1342, allocations: 53.52 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1344, allocations: 79.7 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1345, allocations: 87.61 kB / 360.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.1346, allocations: 16 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1346, allocations: 20 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.1347, allocations: 35.89 kB / 360.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.1348, allocations: 79.59 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.135, allocations: 179.6 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.135, allocations: 8 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.135, allocations: 0 / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.135, allocations: 0 / 360.6 MB, free: 10.79 MB / 302.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.0008178/0.1359, allocations: 474.7 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1359, allocations: 19.97 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.1363, allocations: 52.7 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1366, allocations: 216 kB / 361.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1366, allocations: 4.375 kB / 361.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1366, allocations: 12.38 kB / 361.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.137, allocations: 156.3 kB / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.137, allocations: 0 / 361.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.137, allocations: 11.98 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.137, allocations: 3.984 kB / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.1373, allocations: 98.98 kB / 361.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009261/0.1383, allocations: 0.4954 MB / 362.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1386, allocations: 106.5 kB / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1388, allocations: 68.83 kB / 362.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1388, allocations: 4 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1389, allocations: 38.5 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.1389, allocations: 0 / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.000492/0.1394, allocations: 153.6 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1394, allocations: 106.8 kB / 362.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1396, allocations: 156.7 kB / 362.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1396, allocations: 29.7 kB / 362.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.1397, allocations: 119.9 kB / 362.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1397, allocations: 31.5 kB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1398, allocations: 29.7 kB / 363 MB, free: 8.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1399, allocations: 326.8 kB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1401, allocations: 35.97 kB / 363.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1402, allocations: 80.2 kB / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.1405, allocations: 106.8 kB / 363.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1405, allocations: 0 / 363.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003365/0.1408, allocations: 153.5 kB / 363.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1409, allocations: 7.938 kB / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1409, allocations: 0 / 363.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1409, allocations: 4 kB / 363.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.1415, allocations: 79.92 kB / 363.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.143, allocations: 1.508 MB / 365.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1432, allocations: 20.02 kB / 365.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1432, allocations: 3.938 kB / 365.3 MB, free: 5.711 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.0001127/0.1433, allocations: 133.8 kB / 365.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1434, allocations: 7.906 kB / 365.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.1439, allocations: 155.1 kB / 365.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1439, allocations: 0 / 365.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1439, allocations: 11.94 kB / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1439, allocations: 0 / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000775/0.1447, allocations: 471.8 kB / 366 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1447, allocations: 0 / 366 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.1448, allocations: 32.02 kB / 366.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/0.1451, allocations: 24.83 kB / 366.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1451, allocations: 4 kB / 366.1 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.1462, allocations: 1.391 MB / 367.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1463, allocations: 3.938 kB / 367.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.1469, allocations: 293.1 kB / 367.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.1469, allocations: 88.98 kB / 367.9 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.147, allocations: 7.938 kB / 367.9 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1472, allocations: 19.98 kB / 367.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1472, allocations: 7.984 kB / 367.9 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1472, allocations: 0 / 367.9 MB, free: 2.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1473, allocations: 127.5 kB / 368 MB, free: 2.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1474, allocations: 0 / 368 MB, free: 2.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1477, allocations: 43.84 kB / 368.1 MB, free: 2.652 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.0001387/0.1478, allocations: 99.25 kB / 368.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.1486, allocations: 143.9 kB / 368.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1486, allocations: 0 / 368.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.1489, allocations: 162.6 kB / 368.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1492, allocations: 15.91 kB / 368.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1507, allocations: 0.5755 MB / 369 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.151, allocations: 0.7158 MB / 369.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.1511, allocations: 12.55 kB / 369.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.1511, allocations: 11.44 kB / 369.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1511, allocations: 0 / 369.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of Templates: time 0.171/0.3222, allocations: 1.603 MB / 371.4 MB, free: 19.74 MB / 302.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/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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches