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.001104/0.001104, allocations: 86 kB / 16.31 MB, free: 6.449 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.00142/0.00142, allocations: 181 kB / 17.21 MB, free: 6.32 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.607/1.607, allocations: 223.3 MB / 241.2 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002389/0.0002389, allocations: 8 kB / 300.8 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 50.41 MB / 351.2 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002264/0.11, allocations: 1.697 MB / 352.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008777/0.1109, allocations: 0.5342 MB / 353.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.111, allocations: 4 kB / 353.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.952e-05/0.111, allocations: 11.86 kB / 353.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.1112, allocations: 39.69 kB / 353.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.1115, allocations: 70.53 kB / 353.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1117, allocations: 163.3 kB / 353.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.1119, allocations: 45.45 kB / 353.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1121, allocations: 59.72 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1122, allocations: 75.67 kB / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1123, allocations: 8 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/0.1123, allocations: 8 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.1123, allocations: 23.91 kB / 354 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1124, allocations: 49.64 kB / 354 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1126, allocations: 131.9 kB / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1126, allocations: 0 / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1126, allocations: 0 / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1126, allocations: 0 / 354.1 MB, free: 1.086 MB / 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.0008521/0.1135, allocations: 450.7 kB / 354.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1135, allocations: 8.031 kB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.1136, allocations: 19.77 kB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1138, allocations: 194.8 kB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1138, allocations: 8 kB / 354.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1139, allocations: 8 kB / 354.8 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.1142, allocations: 156 kB / 355 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1143, allocations: 0 / 355 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.1143, allocations: 8 kB / 355 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1143, allocations: 7.938 kB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.1146, allocations: 99.94 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.1156, allocations: 0.5071 MB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.1159, allocations: 110.5 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1161, allocations: 72.83 kB / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1161, allocations: 0 / 355.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1161, allocations: 30.56 kB / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1161, allocations: 0 / 355.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004555/0.1166, allocations: 153.6 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.1167, allocations: 102.8 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1168, allocations: 160.5 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1169, allocations: 25.7 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.117, allocations: 127.7 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.117, allocations: 35.58 kB / 356.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.117, allocations: 0 / 356.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1172, allocations: 330.8 kB / 356.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1173, allocations: 31.98 kB / 356.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1174, allocations: 88.2 kB / 356.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1176, allocations: 43.97 kB / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1176, allocations: 0 / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003277/0.1179, allocations: 153.4 kB / 357 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1179, allocations: 10.28 kB / 357 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.118, allocations: 8 kB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.118, allocations: 0 / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.1185, allocations: 87.89 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.12, allocations: 1.398 MB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.1201, allocations: 23.88 kB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1202, allocations: 4 kB / 358.5 MB, free: 12.28 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.1203, allocations: 130 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1203, allocations: 7.906 kB / 358.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1208, allocations: 159.1 kB / 358.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1208, allocations: 4 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1208, allocations: 3.953 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1208, allocations: 3.984 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007213/0.1215, allocations: 472 kB / 359.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.1216, allocations: 0 / 359.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.1217, allocations: 27.94 kB / 359.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.122, allocations: 40.81 kB / 359.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.122, allocations: 7.969 kB / 359.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.123, allocations: 1.292 MB / 360.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.123, allocations: 0.5469 kB / 360.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.1236, allocations: 309 kB / 361 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1237, allocations: 85.02 kB / 361.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1237, allocations: 4 kB / 361.1 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1239, allocations: 20.05 kB / 361.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1239, allocations: 7.984 kB / 361.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1239, allocations: 4 kB / 361.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.711e-05/0.124, allocations: 127 kB / 361.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.124, allocations: 0 / 361.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1243, allocations: 39.84 kB / 361.3 MB, free: 9.309 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.1244, allocations: 103.2 kB / 361.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.1251, allocations: 143.8 kB / 361.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1251, allocations: 0 / 361.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.1254, allocations: 166.7 kB / 361.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1257, allocations: 15.89 kB / 361.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1271, allocations: 0.6101 MB / 362.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1274, allocations: 0.716 MB / 363 MB, free: 7.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1275, allocations: 16.41 kB / 363 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1276, allocations: 11.44 kB / 363 MB, free: 7.461 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1276, allocations: 0 / 363 MB, free: 7.461 MB / 302.1 MB Notification: Performance of Templates: time 0.003932/0.1315, allocations: 1.463 MB / 364.5 MB, free: 6.004 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 -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/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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches