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.001314/0.001314, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 213.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.1 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 59.22 kB / 307.1 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1019, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003348/0.1053, allocations: 2.108 MB / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1064, allocations: 0.6506 MB / 360.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1065, allocations: 0 / 360.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.868e-05/0.1066, allocations: 19.84 kB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1067, allocations: 35.7 kB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1071, allocations: 91.88 kB / 360.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1074, allocations: 187.2 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1075, allocations: 57.52 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1078, allocations: 83.69 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1079, allocations: 79.67 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1079, allocations: 16 kB / 361 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.108, allocations: 20 kB / 361 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.1081, allocations: 39.84 kB / 361.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/0.1082, allocations: 75.59 kB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1084, allocations: 139.9 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1084, allocations: 4 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1084, allocations: 0 / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1084, allocations: 4 kB / 361.3 MB, free: 10.75 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.0008597/0.1093, allocations: 470.8 kB / 361.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1093, allocations: 12.03 kB / 361.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.1097, allocations: 52.7 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.11, allocations: 220 kB / 362 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.11, allocations: 8.375 kB / 362 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.1101, allocations: 12.38 kB / 362 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.1104, allocations: 149.8 kB / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1104, allocations: 3.938 kB / 362.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1105, allocations: 11.98 kB / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1105, allocations: 0 / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.1108, allocations: 95.94 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1118, allocations: 0.4954 MB / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.1121, allocations: 106.5 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1124, allocations: 72.83 kB / 363 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1124, allocations: 8.125 kB / 363 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1124, allocations: 42.42 kB / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1125, allocations: 0 / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004994/0.113, allocations: 145.7 kB / 363.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.1131, allocations: 102.8 kB / 363.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1132, allocations: 164.6 kB / 363.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1133, allocations: 25.7 kB / 363.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.1134, allocations: 119.9 kB / 363.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1134, allocations: 27.56 kB / 363.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.1135, allocations: 29.7 kB / 363.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1136, allocations: 326.8 kB / 363.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1138, allocations: 43.97 kB / 364 MB, free: 7.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1139, allocations: 72.2 kB / 364 MB, free: 7.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.1142, allocations: 110.6 kB / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1142, allocations: 0 / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003621/0.1146, allocations: 145.5 kB / 364.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1146, allocations: 15.16 kB / 364.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1146, allocations: 4 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1147, allocations: 0 / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.1153, allocations: 83.86 kB / 364.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.1169, allocations: 1.508 MB / 365.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.1171, allocations: 16.02 kB / 365.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1172, allocations: 11.94 kB / 365.9 MB, free: 5.68 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.0001265/0.1173, allocations: 121.8 kB / 366 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1173, allocations: 11.91 kB / 366.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.1178, allocations: 151.2 kB / 366.2 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1179, allocations: 4 kB / 366.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1179, allocations: 7.938 kB / 366.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1179, allocations: 0 / 366.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.1187, allocations: 467.9 kB / 366.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1187, allocations: 0 / 366.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1189, allocations: 31.95 kB / 366.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.1191, allocations: 28.83 kB / 366.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1192, allocations: 4 kB / 366.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.1204, allocations: 1.398 MB / 368.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1204, allocations: 3.938 kB / 368.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.121, allocations: 289.2 kB / 368.4 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.1211, allocations: 89.05 kB / 368.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1211, allocations: 3.938 kB / 368.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1213, allocations: 19.92 kB / 368.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.1214, allocations: 11.98 kB / 368.5 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1214, allocations: 4.062 kB / 368.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1215, allocations: 127.4 kB / 368.7 MB, free: 2.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 368.7 MB, free: 2.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1218, allocations: 43.84 kB / 368.7 MB, free: 2.625 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.0001298/0.122, allocations: 99.25 kB / 368.8 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007408/0.1227, allocations: 135.9 kB / 368.9 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1227, allocations: 0 / 368.9 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.1231, allocations: 163.1 kB / 369.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1234, allocations: 19.56 kB / 369.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1251, allocations: 0.5968 MB / 369.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1254, allocations: 0.7157 MB / 370.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.1255, allocations: 15.44 kB / 370.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1255, allocations: 0 / 370.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of Templates: time 0.1578/0.2833, allocations: 2.224 MB / 372.7 MB, free: 19.44 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/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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches