Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 109.8 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002101, allocations: 207.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 227.7 MB / 247.7 MB, free: 10.38 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.8 kB / 307.9 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1014, allocations: 50.54 MB / 358.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003584/0.105, allocations: 2.051 MB / 360.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1063, allocations: 0.6584 MB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.1064, allocations: 3.938 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.95e-05/0.1066, allocations: 15.84 kB / 361.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1067, allocations: 51.5 kB / 361.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.1072, allocations: 107.1 kB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1074, allocations: 183.3 kB / 361.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1076, allocations: 57.5 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1078, allocations: 83.7 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1079, allocations: 79.62 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.108, allocations: 16 kB / 361.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.1081, allocations: 31.98 kB / 361.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.1081, allocations: 31.91 kB / 361.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.1082, allocations: 75.59 kB / 361.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1085, allocations: 187.6 kB / 362 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1085, allocations: 0 / 362 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1085, allocations: 0 / 362 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1085, allocations: 0 / 362 MB, free: 10.35 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.0009252/0.1094, allocations: 474.8 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1095, allocations: 12.03 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.1099, allocations: 52.7 kB / 362.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1101, allocations: 216 kB / 362.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1102, allocations: 8.375 kB / 362.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.1102, allocations: 12.38 kB / 362.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.1106, allocations: 160.8 kB / 363 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1106, allocations: 0 / 363 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1106, allocations: 0 / 363 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1106, allocations: 4 kB / 363 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1109, allocations: 95.94 kB / 363.1 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.1119, allocations: 0.5071 MB / 363.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.1122, allocations: 106.5 kB / 363.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.1124, allocations: 68.97 kB / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1124, allocations: 0 / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1125, allocations: 38.5 kB / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1125, allocations: 0 / 363.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004787/0.113, allocations: 149.4 kB / 363.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.1131, allocations: 106.8 kB / 364 MB, free: 8.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1132, allocations: 158.2 kB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1132, allocations: 25.7 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1133, allocations: 123.9 kB / 364.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1134, allocations: 31.55 kB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.1135, allocations: 25.7 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1137, allocations: 330.8 kB / 364.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1138, allocations: 35.97 kB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.114, allocations: 80.27 kB / 364.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1142, allocations: 102.8 kB / 364.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1142, allocations: 3.969 kB / 364.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004149/0.1147, allocations: 153.5 kB / 365.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1147, allocations: 7.938 kB / 365.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1147, allocations: 3.984 kB / 365.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1147, allocations: 4 kB / 365.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.1153, allocations: 83.95 kB / 365.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.1169, allocations: 1.5 MB / 366.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.1171, allocations: 16.11 kB / 366.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1171, allocations: 15.92 kB / 366.7 MB, free: 5.273 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.0001258/0.1172, allocations: 117.8 kB / 366.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.1173, allocations: 11.91 kB / 366.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.1178, allocations: 159.1 kB / 367 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1178, allocations: 0 / 367 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1178, allocations: 3.938 kB / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1178, allocations: 0 / 367 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007972/0.1186, allocations: 471.9 kB / 367.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1186, allocations: 0 / 367.4 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1188, allocations: 23.97 kB / 367.5 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.119, allocations: 28.84 kB / 367.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.119, allocations: 3.984 kB / 367.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.1203, allocations: 1.403 MB / 368.9 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.1203, allocations: 3.938 kB / 368.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.1209, allocations: 293.1 kB / 369.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.121, allocations: 89.03 kB / 369.3 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.121, allocations: 3.938 kB / 369.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1212, allocations: 16.05 kB / 369.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1213, allocations: 15.92 kB / 369.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1213, allocations: 4 kB / 369.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1214, allocations: 124.1 kB / 369.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1214, allocations: 0 / 369.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.1217, allocations: 43.84 kB / 369.5 MB, free: 2.223 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.0001326/0.1219, allocations: 97.12 kB / 369.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007238/0.1226, allocations: 143.8 kB / 369.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1226, allocations: 0 / 369.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.123, allocations: 166.7 kB / 369.9 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.1232, allocations: 12 kB / 369.9 MB, free: 1.793 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1249, allocations: 0.5538 MB / 370.5 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1253, allocations: 0.708 MB / 371.2 MB, free: 480 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.1253, allocations: 23.38 kB / 371.2 MB, free: 456 kB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1253, allocations: 0 / 371.2 MB, free: 456 kB / 302.1 MB Notification: Performance of Templates: time 0.1432/0.2685, allocations: 2.234 MB / 373.4 MB, free: 19.49 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches