Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 161 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 51.06 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1071, allocations: 53.35 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003629/0.1108, allocations: 1.974 MB / 380.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1121, allocations: 0.6194 MB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1122, allocations: 4 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.507e-05/0.1123, allocations: 23.78 kB / 381.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1125, allocations: 43.62 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1129, allocations: 107.7 kB / 381.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.1132, allocations: 187.3 kB / 381.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1134, allocations: 33.73 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1136, allocations: 95.69 kB / 382 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1138, allocations: 67.62 kB / 382.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1138, allocations: 20 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.1139, allocations: 20 kB / 382.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.1139, allocations: 39.83 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.114, allocations: 71.66 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1143, allocations: 179.3 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1143, allocations: 0 / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1143, allocations: 0 / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1143, allocations: 0 / 382.4 MB, free: 12.14 MB / 350.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.0008502/0.1151, allocations: 409.5 kB / 382.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1152, allocations: 8.031 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.1156, allocations: 48.81 kB / 382.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1159, allocations: 162.3 kB / 383 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1159, allocations: 8.375 kB / 383 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.116, allocations: 12.38 kB / 383 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.1164, allocations: 210.8 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1164, allocations: 0 / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1164, allocations: 4 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1164, allocations: 4 kB / 383.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.1167, allocations: 95.94 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.1176, allocations: 423.2 kB / 383.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.1179, allocations: 102.5 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1181, allocations: 60.81 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1181, allocations: 4 kB / 383.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1182, allocations: 34.56 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1182, allocations: 0 / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004959/0.1187, allocations: 149.5 kB / 384.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.1187, allocations: 106.8 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1189, allocations: 162.9 kB / 384.3 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1189, allocations: 33.7 kB / 384.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.119, allocations: 115.9 kB / 384.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.119, allocations: 31.73 kB / 384.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.1191, allocations: 33.7 kB / 384.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1193, allocations: 322.8 kB / 384.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1194, allocations: 39.92 kB / 384.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.1196, allocations: 131.7 kB / 385 MB, free: 9.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1199, allocations: 102.5 kB / 385.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1199, allocations: 0 / 385.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003826/0.1203, allocations: 154 kB / 385.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1203, allocations: 4 kB / 385.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1203, allocations: 4.016 kB / 385.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1203, allocations: 4 kB / 385.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.1209, allocations: 83.94 kB / 385.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1225, allocations: 1.381 MB / 386.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.1226, allocations: 19.94 kB / 386.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1226, allocations: 4 kB / 386.8 MB, free: 7.383 MB / 350.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.0001225/0.1228, allocations: 125.8 kB / 386.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.1228, allocations: 7.953 kB / 386.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.1233, allocations: 159.2 kB / 387.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1233, allocations: 0 / 387.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.1233, allocations: 0 / 387.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1233, allocations: 4 kB / 387.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.124, allocations: 391.7 kB / 387.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.124, allocations: 0 / 387.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1242, allocations: 23.98 kB / 387.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/0.1244, allocations: 32.83 kB / 387.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1244, allocations: 7.938 kB / 387.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1256, allocations: 1.272 MB / 388.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1256, allocations: 0 / 388.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.1262, allocations: 301.1 kB / 389.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.1263, allocations: 11.98 kB / 389.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1263, allocations: 3.984 kB / 389.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1265, allocations: 15.98 kB / 389.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1265, allocations: 11.98 kB / 389.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1265, allocations: 3.938 kB / 389.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1266, allocations: 123.2 kB / 389.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1266, allocations: 4 kB / 389.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.1269, allocations: 39.95 kB / 389.3 MB, free: 4.68 MB / 350.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.0001104/0.127, allocations: 103.1 kB / 389.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007288/0.1278, allocations: 139.9 kB / 389.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1278, allocations: 0 / 389.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.1281, allocations: 158.7 kB / 389.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1283, allocations: 8 kB / 389.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1299, allocations: 0.5447 MB / 390.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.13, allocations: 97.41 kB / 390.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.256e-05/0.13, allocations: 20.47 kB / 390.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.1301, allocations: 24.42 kB / 390.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1301, allocations: 0 / 390.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of Templates: time 0.005199/0.1353, allocations: 1.744 MB / 392.1 MB, free: 1.785 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.259857877972536]