Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008858/0.0008862, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.0008493/0.0008493, allocations: 177 kB / 18.2 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005008, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 47.6 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002191/0.1048, allocations: 1.705 MB / 330.7 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.1057, allocations: 0.5892 MB / 331.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.1058, allocations: 4 kB / 331.3 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.1059, allocations: 15.84 kB / 331.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.106, allocations: 39.69 kB / 331.3 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1064, allocations: 87.88 kB / 331.4 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1065, allocations: 167.3 kB / 331.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1067, allocations: 45.47 kB / 331.6 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1069, allocations: 67.72 kB / 331.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.107, allocations: 71.61 kB / 331.7 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.107, allocations: 8 kB / 331.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.1071, allocations: 8 kB / 331.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.1071, allocations: 27.84 kB / 331.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.1072, allocations: 97.3 kB / 331.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1074, allocations: 171.6 kB / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1074, allocations: 0 / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1074, allocations: 0 / 332.1 MB, free: 0.625 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1074, allocations: 0 / 332.1 MB, free: 0.625 MB / 270.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.0007108/0.1081, allocations: 450.9 kB / 332.5 MB, free: 140 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1082, allocations: 12.03 kB / 332.5 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1082, allocations: 12.84 kB / 332.5 MB, free: 116 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1084, allocations: 196.1 kB / 332.7 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1084, allocations: 12.31 kB / 332.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.1085, allocations: 8.375 kB / 332.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.1088, allocations: 152.4 kB / 332.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1088, allocations: 0 / 332.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1088, allocations: 11.94 kB / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1089, allocations: 0 / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.1091, allocations: 99.94 kB / 333 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.11, allocations: 0.511 MB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1103, allocations: 106.5 kB / 333.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.1105, allocations: 72.83 kB / 333.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1105, allocations: 0 / 333.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1106, allocations: 34.5 kB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1106, allocations: 4 kB / 333.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004834/0.1111, allocations: 157.6 kB / 333.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1111, allocations: 102.8 kB / 334 MB, free: 14.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1113, allocations: 166 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1113, allocations: 25.7 kB / 334.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.1114, allocations: 119.8 kB / 334.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1114, allocations: 27.64 kB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1114, allocations: 17.72 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1115, allocations: 322.8 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1117, allocations: 43.97 kB / 334.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1118, allocations: 80.2 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.1121, allocations: 110.8 kB / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1121, allocations: 0 / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003215/0.1124, allocations: 149.5 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1124, allocations: 7.938 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1125, allocations: 3.984 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1125, allocations: 4.031 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.1131, allocations: 83.92 kB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.1144, allocations: 1.409 MB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1146, allocations: 20.14 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1146, allocations: 4 kB / 336.5 MB, free: 11.73 MB / 286.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.0001248/0.1147, allocations: 125.8 kB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1148, allocations: 15.81 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.1152, allocations: 167.1 kB / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1152, allocations: 0 / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.1152, allocations: 0 / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1153, allocations: 0 / 336.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007316/0.116, allocations: 476 kB / 337.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.116, allocations: 0 / 337.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1161, allocations: 23.98 kB / 337.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/0.1164, allocations: 44.78 kB / 337.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1164, allocations: 4 kB / 337.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/0.1174, allocations: 1.292 MB / 338.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1174, allocations: 0 / 338.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.118, allocations: 305 kB / 339 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.1181, allocations: 92.94 kB / 339.1 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1181, allocations: 4.062 kB / 339.1 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1183, allocations: 15.98 kB / 339.1 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1183, allocations: 11.98 kB / 339.1 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1183, allocations: 0 / 339.1 MB, free: 8.918 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.353e-05/0.1184, allocations: 119.2 kB / 339.2 MB, free: 8.801 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1184, allocations: 0 / 339.2 MB, free: 8.801 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1187, allocations: 47.88 kB / 339.2 MB, free: 8.754 MB / 286.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.0001211/0.1188, allocations: 95.25 kB / 339.3 MB, free: 8.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006834/0.1195, allocations: 147.9 kB / 339.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1195, allocations: 3.938 kB / 339.5 MB, free: 8.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.1199, allocations: 166.6 kB / 339.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1201, allocations: 8 kB / 339.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1217, allocations: 0.6263 MB / 340.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.122, allocations: 0.7199 MB / 341 MB, free: 6.922 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.122, allocations: 8.562 kB / 341 MB, free: 6.914 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.1221, allocations: 15.42 kB / 341 MB, free: 6.898 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1221, allocations: 0 / 341 MB, free: 6.898 MB / 286.1 MB Notification: Performance of Templates: time 0.004018/0.1261, allocations: 1.515 MB / 342.5 MB, free: 5.387 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches