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.001307/0.001307, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 8.918 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 61.09 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09907, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003634/0.1027, allocations: 2.116 MB / 359.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1041, allocations: 0.6506 MB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1043, allocations: 4 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.886e-05/0.1044, allocations: 15.84 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1046, allocations: 39.69 kB / 360.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.105, allocations: 91.52 kB / 360.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1052, allocations: 175.2 kB / 360.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1054, allocations: 49.52 kB / 360.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1056, allocations: 79.7 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1058, allocations: 75.67 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1058, allocations: 8 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.1059, allocations: 16 kB / 360.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.106, allocations: 31.84 kB / 360.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.1061, allocations: 75.59 kB / 360.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1062, allocations: 131.9 kB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1063, allocations: 0 / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1063, allocations: 8 kB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1063, allocations: 0 / 361 MB, free: 10.7 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.000836/0.1071, allocations: 474.8 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1072, allocations: 8.031 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.1076, allocations: 52.72 kB / 361.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1079, allocations: 227.2 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1079, allocations: 8.375 kB / 361.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.108, allocations: 12.38 kB / 361.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.1083, allocations: 160.3 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1084, allocations: 0 / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1084, allocations: 4 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1084, allocations: 0 / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.1087, allocations: 91.94 kB / 362 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.1096, allocations: 0.5032 MB / 362.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.11, allocations: 106.5 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1102, allocations: 76.77 kB / 362.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1102, allocations: 4.141 kB / 362.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1103, allocations: 38.44 kB / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1103, allocations: 0 / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004958/0.1108, allocations: 149.4 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.1109, allocations: 102.8 kB / 363 MB, free: 8.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.111, allocations: 164.6 kB / 363.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.111, allocations: 25.7 kB / 363.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1111, allocations: 123.9 kB / 363.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1112, allocations: 31.55 kB / 363.3 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.1113, allocations: 25.7 kB / 363.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1114, allocations: 322.8 kB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1115, allocations: 47.92 kB / 363.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1117, allocations: 76.25 kB / 363.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.112, allocations: 98.58 kB / 363.9 MB, free: 7.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.112, allocations: 0 / 363.9 MB, free: 7.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003541/0.1123, allocations: 141.5 kB / 364 MB, free: 7.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1124, allocations: 15.88 kB / 364 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1124, allocations: 4 kB / 364 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1124, allocations: 4.031 kB / 364 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.113, allocations: 87.91 kB / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.1145, allocations: 1.394 MB / 365.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1147, allocations: 28.11 kB / 365.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1148, allocations: 4 kB / 365.5 MB, free: 5.73 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.0001208/0.1149, allocations: 133.7 kB / 365.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.1149, allocations: 7.906 kB / 365.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.1154, allocations: 155.6 kB / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1155, allocations: 0 / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1155, allocations: 0 / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1155, allocations: 0 / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.1163, allocations: 479.9 kB / 366.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1163, allocations: 0 / 366.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1164, allocations: 23.92 kB / 366.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.1167, allocations: 40.8 kB / 366.4 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1167, allocations: 8 kB / 366.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.1178, allocations: 1.289 MB / 367.7 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1179, allocations: 0 / 367.7 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.1185, allocations: 301 kB / 367.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1185, allocations: 89.03 kB / 368 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1186, allocations: 11.92 kB / 368 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.1187, allocations: 15.98 kB / 368.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1188, allocations: 4.062 kB / 368.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.1188, allocations: 11.92 kB / 368.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.367e-05/0.1189, allocations: 119.4 kB / 368.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1189, allocations: 0 / 368.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.1192, allocations: 47.78 kB / 368.2 MB, free: 2.766 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.0001449/0.1194, allocations: 107.2 kB / 368.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.1201, allocations: 131.8 kB / 368.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1201, allocations: 0 / 368.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.1204, allocations: 162.7 kB / 368.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1207, allocations: 12 kB / 368.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1223, allocations: 0.5992 MB / 369.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1226, allocations: 0.716 MB / 370 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.1226, allocations: 15.42 kB / 370 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1226, allocations: 0 / 370 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of Templates: time 0.1534/0.276, allocations: 2.217 MB / 372.2 MB, free: 19.52 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/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