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.001956/0.001956, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001782/0.001782, allocations: 192 kB / 18.62 MB, free: 4.434 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.366/1.366, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 51.22 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09937, allocations: 49.44 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003501/0.1029, allocations: 2.026 MB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1041, allocations: 0.5805 MB / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1042, allocations: 0 / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.224e-05/0.1043, allocations: 19.8 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1045, allocations: 43.62 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1049, allocations: 87.8 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1051, allocations: 187.2 kB / 354.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1053, allocations: 49.48 kB / 354.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1055, allocations: 83.62 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1057, allocations: 75.75 kB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.1057, allocations: 12 kB / 354.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.708e-05/0.1058, allocations: 16 kB / 354.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.1058, allocations: 39.78 kB / 354.7 MB, free: 484 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1059, allocations: 79.64 kB / 354.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.1062, allocations: 175.4 kB / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1062, allocations: 4 kB / 355 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1062, allocations: 0 / 355 MB, free: 224 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1063, allocations: 0 / 355 MB, free: 224 kB / 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.0009146/0.1072, allocations: 466.8 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1072, allocations: 15.89 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.1073, allocations: 16.75 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1075, allocations: 200 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1075, allocations: 8.375 kB / 355.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.1076, allocations: 12.38 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.1079, allocations: 156 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1079, allocations: 4 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.108, allocations: 7.938 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.108, allocations: 7.984 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.1083, allocations: 91.94 kB / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.1092, allocations: 0.5071 MB / 356.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1095, allocations: 94.53 kB / 356.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1097, allocations: 72.83 kB / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1098, allocations: 0 / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.1098, allocations: 38.44 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1098, allocations: 4 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004718/0.1103, allocations: 145.8 kB / 356.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.1104, allocations: 106.8 kB / 356.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1106, allocations: 158.2 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1106, allocations: 25.7 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1107, allocations: 131.9 kB / 357.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1107, allocations: 27.64 kB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.1108, allocations: 29.7 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1109, allocations: 322.8 kB / 357.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1111, allocations: 35.98 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1113, allocations: 84.19 kB / 357.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1115, allocations: 98.55 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1115, allocations: 0 / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003576/0.1119, allocations: 141.5 kB / 357.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1119, allocations: 7.938 kB / 357.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1119, allocations: 4 kB / 357.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.112, allocations: 0 / 357.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.1126, allocations: 95.88 kB / 358 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1141, allocations: 1.496 MB / 359.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.1142, allocations: 19.92 kB / 359.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1143, allocations: 7.938 kB / 359.5 MB, free: 11.21 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.000125/0.1144, allocations: 129.8 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1144, allocations: 15.89 kB / 359.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.1149, allocations: 151.2 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.115, allocations: 4 kB / 359.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.115, allocations: 7.938 kB / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.115, allocations: 0 / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.1157, allocations: 460 kB / 360.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1157, allocations: 4.031 kB / 360.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.1159, allocations: 31.86 kB / 360.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.1161, allocations: 28.83 kB / 360.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1161, allocations: 0 / 360.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.1173, allocations: 1.394 MB / 361.7 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1173, allocations: 3.938 kB / 361.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.1179, allocations: 297.1 kB / 362 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.118, allocations: 89.05 kB / 362.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.118, allocations: 7.922 kB / 362.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1182, allocations: 19.98 kB / 362.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1183, allocations: 7.938 kB / 362.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1183, allocations: 4 kB / 362.2 MB, free: 8.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1184, allocations: 124.9 kB / 362.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1184, allocations: 4.062 kB / 362.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1187, allocations: 35.94 kB / 362.3 MB, free: 8.16 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.0001503/0.1189, allocations: 103.2 kB / 362.4 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.1196, allocations: 136.3 kB / 362.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1196, allocations: 0 / 362.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.12, allocations: 166.5 kB / 362.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1202, allocations: 11.98 kB / 362.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1218, allocations: 0.524 MB / 363.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1221, allocations: 0.7158 MB / 364 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1222, allocations: 12.55 kB / 364 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1222, allocations: 11.44 kB / 364 MB, free: 6.418 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1222, allocations: 0 / 364 MB, free: 6.418 MB / 302.1 MB Notification: Performance of Templates: time 0.004608/0.1269, allocations: 1.652 MB / 365.6 MB, free: 4.773 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 -s gbode -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/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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches