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.001121/0.001121, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.08 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003624/0.1155, allocations: 2.042 MB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.117, allocations: 0.6623 MB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1172, allocations: 4 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.1173, allocations: 19.78 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1175, allocations: 43.62 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.1181, allocations: 103.7 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.1184, allocations: 183.3 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.1187, allocations: 49.52 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.119, allocations: 87.64 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1192, allocations: 79.67 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.1192, allocations: 16 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.1193, allocations: 23.98 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.1194, allocations: 39.86 kB / 362.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1195, allocations: 79.58 kB / 362.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1199, allocations: 179.4 kB / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1199, allocations: 0 / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1199, allocations: 0 / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1199, allocations: 0 / 362.5 MB, free: 9.727 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.0009776/0.1209, allocations: 482.8 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1209, allocations: 8.031 kB / 363 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.1214, allocations: 56.7 kB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.1219, allocations: 220 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1219, allocations: 8.375 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1219, allocations: 16.36 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.1223, allocations: 152.4 kB / 363.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1224, allocations: 0 / 363.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1224, allocations: 12 kB / 363.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.1224, allocations: 3.938 kB / 363.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.1227, allocations: 95.88 kB / 363.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009167/0.1236, allocations: 0.5032 MB / 364 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.124, allocations: 106.5 kB / 364.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1242, allocations: 68.83 kB / 364.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1242, allocations: 0 / 364.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1243, allocations: 38.5 kB / 364.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1243, allocations: 0 / 364.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004965/0.1248, allocations: 153.5 kB / 364.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.1249, allocations: 106.8 kB / 364.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1251, allocations: 160.7 kB / 364.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1251, allocations: 25.7 kB / 364.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1252, allocations: 115.9 kB / 364.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.1252, allocations: 31.55 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.1253, allocations: 33.7 kB / 364.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1255, allocations: 322.8 kB / 365.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1256, allocations: 39.97 kB / 365.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1258, allocations: 76.27 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.1261, allocations: 98.8 kB / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1261, allocations: 0 / 365.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003781/0.1264, allocations: 149.5 kB / 365.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1265, allocations: 7.938 kB / 365.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1265, allocations: 3.984 kB / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1265, allocations: 4 kB / 365.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.1271, allocations: 83.89 kB / 365.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.1286, allocations: 1.508 MB / 367.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1288, allocations: 11.98 kB / 367.2 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1288, allocations: 11.92 kB / 367.2 MB, free: 4.648 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.0001168/0.1289, allocations: 129.9 kB / 367.3 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.129, allocations: 11.84 kB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.1294, allocations: 159.1 kB / 367.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1294, allocations: 0 / 367.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1294, allocations: 3.938 kB / 367.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1295, allocations: 8 kB / 367.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.1302, allocations: 463.9 kB / 367.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1302, allocations: 4 kB / 367.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1304, allocations: 28 kB / 368 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.1306, allocations: 32.78 kB / 368 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1307, allocations: 3.984 kB / 368 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.1317, allocations: 1.387 MB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1317, allocations: 3.938 kB / 369.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.1323, allocations: 285.2 kB / 369.7 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1324, allocations: 93.09 kB / 369.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1324, allocations: 11.88 kB / 369.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1326, allocations: 15.98 kB / 369.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.1326, allocations: 3.984 kB / 369.8 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1327, allocations: 11.94 kB / 369.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.1328, allocations: 123.4 kB / 369.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1328, allocations: 0 / 369.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1331, allocations: 43.84 kB / 370 MB, free: 1.59 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.0001494/0.1332, allocations: 103.2 kB / 370.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007079/0.134, allocations: 143.9 kB / 370.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.134, allocations: 0 / 370.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.1343, allocations: 158.7 kB / 370.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1346, allocations: 8 kB / 370.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.136, allocations: 0.5251 MB / 370.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1811/0.3172, allocations: 0.7096 MB / 371.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3174, allocations: 16.59 kB / 371.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.3174, allocations: 17.08 kB / 371.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3174, allocations: 0.6875 kB / 371.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005504/0.3229, allocations: 1.655 MB / 373.3 MB, free: 19.58 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 -s gbode -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/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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches