Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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.001737/0.001737, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002051/0.002051, allocations: 208 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 207.7 MB / 233.1 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07214/0.07214, allocations: 14.4 MB / 299.7 MB, free: 7.242 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) 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.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(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 68.33 kB / 421.1 MB, free: 38.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1094, allocations: 52.91 MB / 474 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002392/0.1118, allocations: 0.6778 MB / 474.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.1121, allocations: 63.73 kB / 474.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.1121, allocations: 4 kB / 474.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.1121, allocations: 0 / 474.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.1122, allocations: 3.938 kB / 474.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1124, allocations: 19.98 kB / 474.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1125, allocations: 27.92 kB / 474.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1127, allocations: 11.98 kB / 474.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.1127, allocations: 11.92 kB / 474.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.1128, allocations: 11.98 kB / 474.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1128, allocations: 4 kB / 474.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.1128, allocations: 7.938 kB / 474.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1128, allocations: 4 kB / 474.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.1129, allocations: 7.984 kB / 474.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.113, allocations: 19.86 kB / 474.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.113, allocations: 0 / 474.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.113, allocations: 4 kB / 474.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.113, allocations: 0 / 474.9 MB, free: 0.7461 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000497/0.1135, allocations: 262.3 kB / 475.1 MB, free: 468 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1135, allocations: 8.031 kB / 475.1 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1136, allocations: 8.875 kB / 475.2 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.1138, allocations: 114.5 kB / 475.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1138, allocations: 384 / 475.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1138, allocations: 384 / 475.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.1141, allocations: 98.52 kB / 475.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1141, allocations: 192 / 475.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1141, allocations: 7.938 kB / 475.4 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1141, allocations: 4 kB / 475.4 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.1143, allocations: 43.88 kB / 475.4 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.1147, allocations: 217.4 kB / 475.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1149, allocations: 69.12 kB / 475.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.115, allocations: 33.77 kB / 475.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.115, allocations: 3.938 kB / 475.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1151, allocations: 38.55 kB / 475.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.1151, allocations: 0 / 475.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000399/0.1155, allocations: 93.55 kB / 475.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.1155, allocations: 106.8 kB / 476 MB, free: 15.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1157, allocations: 98.11 kB / 476.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1157, allocations: 33.64 kB / 476.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.1157, allocations: 84.14 kB / 476.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.1158, allocations: 7.891 kB / 476.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.1158, allocations: 21.7 kB / 476.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.116, allocations: 310.8 kB / 476.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/0.1161, allocations: 24.84 kB / 476.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1162, allocations: 68.19 kB / 476.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1164, allocations: 49.72 kB / 476.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1164, allocations: 0 / 476.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002117/0.1166, allocations: 73.55 kB / 476.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1166, allocations: 7.984 kB / 476.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1166, allocations: 0 / 476.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1166, allocations: 8.062 kB / 476.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.1167, allocations: 8 kB / 476.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1167, allocations: 0 / 476.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.1168, allocations: 11.94 kB / 476.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1168, allocations: 4 kB / 476.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.783e-05/0.1169, allocations: 92.12 kB / 476.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.018e-05/0.117, allocations: 44.28 kB / 476.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.723e-05/0.117, allocations: 41.67 kB / 476.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.1171, allocations: 3.984 kB / 476.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000128/0.1172, allocations: 49.62 kB / 477 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1172, allocations: 11.94 kB / 477 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.1172, allocations: 0 / 477 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-06/0.1172, allocations: 0 / 477 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.122e-05/0.1172, allocations: 7.984 kB / 477 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.1172, allocations: 3.938 kB / 477 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.1173, allocations: 12.06 kB / 477 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1173, allocations: 4 kB / 477 MB, free: 14.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.1174, allocations: 176.3 kB / 477.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1174, allocations: 7.938 kB / 477.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.1175, allocations: 15.25 kB / 477.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1175, allocations: 0 / 477.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1175, allocations: 0 / 477.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1175, allocations: 4 kB / 477.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1177, allocations: 101.3 kB / 477.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1177, allocations: 0 / 477.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.1178, allocations: 19.98 kB / 477.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1178, allocations: 3.938 kB / 477.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1178, allocations: 4 kB / 477.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1178, allocations: 0 / 477.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1178, allocations: 3.938 kB / 477.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.118, allocations: 176.6 kB / 477.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.1181, allocations: 11.92 kB / 477.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1181, allocations: 0 / 477.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1182, allocations: 8 kB / 477.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.1182, allocations: 16.02 kB / 477.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1182, allocations: 0 / 477.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.132e-05/0.1183, allocations: 79.28 kB / 477.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1183, allocations: 0 / 477.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1185, allocations: 8 kB / 477.6 MB, free: 13.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.1187, allocations: 95.25 kB / 477.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.119, allocations: 55.95 kB / 477.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.119, allocations: 0 / 477.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.1191, allocations: 27.91 kB / 477.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.1193, allocations: 4 kB / 477.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.1197, allocations: 121.7 kB / 477.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.1198, allocations: 67.66 kB / 478 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.1198, allocations: 0 / 478 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.1199, allocations: 15.38 kB / 478 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1199, allocations: 0 / 478 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Templates: time 0.003357/0.1232, allocations: 0.6879 MB / 478.7 MB, free: 12.53 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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: 5.136692883446813]