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.0009677/0.0009677, allocations: 95.17 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.7 MB / 246.4 MB, free: 9.711 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 11.98 kB / 307.1 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 51.53 MB / 358.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002165/0.1073, allocations: 1.715 MB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.1082, allocations: 0.6082 MB / 361 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.492e-05/0.1083, allocations: 4 kB / 361 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.1083, allocations: 11.86 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1084, allocations: 35.69 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1088, allocations: 79.89 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.109, allocations: 171.2 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1091, allocations: 53.48 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1093, allocations: 67.7 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1094, allocations: 63.75 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1095, allocations: 8 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.1095, allocations: 16 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.1096, allocations: 31.84 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.1096, allocations: 45.64 kB / 361.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1098, allocations: 139.9 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1098, allocations: 0 / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1098, allocations: 0 / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1098, allocations: 0 / 361.7 MB, free: 10.33 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.0006762/0.1105, allocations: 454.7 kB / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1105, allocations: 12.03 kB / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.1109, allocations: 51.78 kB / 362.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1111, allocations: 218 kB / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1111, allocations: 15.94 kB / 362.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1112, allocations: 12 kB / 362.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1115, allocations: 152 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1115, allocations: 0 / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1115, allocations: 4 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1116, allocations: 4 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.1118, allocations: 99.88 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.1127, allocations: 0.5148 MB / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.113, allocations: 106.5 kB / 363.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.1132, allocations: 72.97 kB / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1133, allocations: 0 / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1133, allocations: 38.5 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/0.1133, allocations: 4 kB / 363.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005364/0.1139, allocations: 145.7 kB / 363.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.114, allocations: 106.8 kB / 363.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1141, allocations: 160.7 kB / 363.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1142, allocations: 25.7 kB / 363.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.1142, allocations: 123.9 kB / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1143, allocations: 23.56 kB / 364 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.1143, allocations: 4 kB / 364 MB, free: 7.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1144, allocations: 318.8 kB / 364.3 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1146, allocations: 47.97 kB / 364.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1147, allocations: 76.2 kB / 364.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1149, allocations: 56.08 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1149, allocations: 0 / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003312/0.1152, allocations: 145.5 kB / 364.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1152, allocations: 8.031 kB / 364.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1153, allocations: 3.984 kB / 364.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1153, allocations: 4.047 kB / 364.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.1158, allocations: 87.86 kB / 364.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.1172, allocations: 1.409 MB / 366.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1173, allocations: 20.2 kB / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1174, allocations: 8 kB / 366.1 MB, free: 5.457 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 9.969e-05/0.1175, allocations: 113.8 kB / 366.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1175, allocations: 15.89 kB / 366.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.118, allocations: 171 kB / 366.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.118, allocations: 0 / 366.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.118, allocations: 0 / 366.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.118, allocations: 0 / 366.4 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006912/0.1187, allocations: 476 kB / 366.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1187, allocations: 4 kB / 366.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.1189, allocations: 28.02 kB / 366.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.1191, allocations: 36.81 kB / 367 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1191, allocations: 4 kB / 367 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009714/0.1201, allocations: 1.292 MB / 368.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1201, allocations: 0 / 368.3 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.1207, allocations: 305.2 kB / 368.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.1208, allocations: 92.97 kB / 368.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1208, allocations: 7.984 kB / 368.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.121, allocations: 19.98 kB / 368.7 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.121, allocations: 3.984 kB / 368.7 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.121, allocations: 4 kB / 368.7 MB, free: 2.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.1211, allocations: 127.5 kB / 368.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1211, allocations: 0 / 368.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.1214, allocations: 47.8 kB / 368.9 MB, free: 2.48 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.1216, allocations: 95.25 kB / 369 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006355/0.1222, allocations: 143.9 kB / 369.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1222, allocations: 0 / 369.1 MB, free: 2.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1225, allocations: 166.7 kB / 369.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1228, allocations: 12 kB / 369.3 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1243, allocations: 0.6196 MB / 369.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1245, allocations: 0.7082 MB / 370.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.1246, allocations: 12.55 kB / 370.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.1247, allocations: 15.44 kB / 370.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1247, allocations: 4 kB / 370.6 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of Templates: time 0.1754/0.3001, allocations: 1.451 MB / 372.1 MB, free: 18.55 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/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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches