Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001766/0.001766, allocations: 104.3 kB / 19.71 MB, free: 1.914 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.001921/0.001921, allocations: 212.9 kB / 23 MB, free: 4.984 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.582/1.582, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.06923/0.06923, allocations: 14.39 MB / 300.5 MB, free: 7.246 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_symb_jac_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_symb_jac_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.002308/0.002308, allocations: 79.88 kB / 421.9 MB, free: 38.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09378/0.09609, allocations: 52.89 MB / 474.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00218/0.09827, allocations: 0.6857 MB / 475.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.09853, allocations: 59.8 kB / 475.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.09856, allocations: 3.938 kB / 475.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.09859, allocations: 3.938 kB / 475.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.09868, allocations: 7.922 kB / 475.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.09884, allocations: 19.94 kB / 475.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.09895, allocations: 27.92 kB / 475.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.09906, allocations: 15.98 kB / 475.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.0991, allocations: 4 kB / 475.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.09916, allocations: 19.91 kB / 475.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.09918, allocations: 0 / 475.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.09919, allocations: 4 kB / 475.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.09921, allocations: 7.984 kB / 475.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.09924, allocations: 7.938 kB / 475.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.978e-05/0.09932, allocations: 23.86 kB / 475.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.09932, allocations: 3.984 kB / 475.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09932, allocations: 0 / 475.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.09933, allocations: 0 / 475.6 MB, free: 0.707 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.0004385/0.09977, allocations: 258.4 kB / 475.9 MB, free: 432 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.09981, allocations: 12.03 kB / 475.9 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.09984, allocations: 0.9375 kB / 475.9 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1, allocations: 118.5 kB / 476 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1, allocations: 384 / 476 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1001, allocations: 384 / 476 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1003, allocations: 98.52 kB / 476.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1003, allocations: 192 / 476.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1003, allocations: 3.938 kB / 476.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1003, allocations: 4 kB / 476.1 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1005, allocations: 43.89 kB / 476.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1009, allocations: 205.5 kB / 476.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1011, allocations: 73.12 kB / 476.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1012, allocations: 33.75 kB / 476.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1012, allocations: 3.938 kB / 476.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1013, allocations: 38.56 kB / 476.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1013, allocations: 0 / 476.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003947/0.1016, allocations: 93.53 kB / 476.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.1017, allocations: 107.1 kB / 476.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.1018, allocations: 101.8 kB / 476.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1018, allocations: 29.7 kB / 476.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.1019, allocations: 80.14 kB / 476.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1019, allocations: 15.88 kB / 476.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.102, allocations: 13.72 kB / 477 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1021, allocations: 314.8 kB / 477.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1022, allocations: 20.84 kB / 477.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1023, allocations: 68.25 kB / 477.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1025, allocations: 53.59 kB / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1025, allocations: 0 / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00023/0.1027, allocations: 81.47 kB / 477.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1028, allocations: 8 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1028, allocations: 0 / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1028, allocations: 4.344 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1029, allocations: 11.98 kB / 477.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1029, allocations: 0 / 477.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.1029, allocations: 11.95 kB / 477.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1029, allocations: 4 kB / 477.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.303e-05/0.103, allocations: 92.12 kB / 477.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.633e-05/0.1031, allocations: 60.25 kB / 477.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.695e-05/0.1032, allocations: 33.69 kB / 477.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/0.1032, allocations: 0 / 477.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001256/0.1033, allocations: 45.69 kB / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.1034, allocations: 7.938 kB / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-06/0.1034, allocations: 0 / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.1034, allocations: 3.984 kB / 477.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.1034, allocations: 15.94 kB / 477.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-06/0.1034, allocations: 0 / 477.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.1034, allocations: 8.062 kB / 477.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-06/0.1034, allocations: 0 / 477.8 MB, free: 14.3 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.0001251/0.1036, allocations: 180.3 kB / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1036, allocations: 7.922 kB / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.1036, allocations: 11.27 kB / 478 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1036, allocations: 4 kB / 478 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1036, allocations: 0 / 478 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1036, allocations: 0 / 478 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1038, allocations: 105.3 kB / 478.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1038, allocations: 0 / 478.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.1039, allocations: 12 kB / 478.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.1039, allocations: 7.938 kB / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1039, allocations: 0 / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1039, allocations: 0 / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1039, allocations: 0 / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008703/0.1047, allocations: 0.9695 MB / 479.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.1048, allocations: 3.984 kB / 479.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1048, allocations: 7.938 kB / 479.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.1049, allocations: 8 kB / 479.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.1049, allocations: 11.92 kB / 479.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1049, allocations: 4 kB / 479.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.554e-05/0.105, allocations: 79.28 kB / 479.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.105, allocations: 0 / 479.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.1055, allocations: 8 kB / 479.2 MB, free: 12.79 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.00013/0.1056, allocations: 99.17 kB / 479.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1059, allocations: 59.89 kB / 479.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1059, allocations: 0 / 479.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.106, allocations: 19.98 kB / 479.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1062, allocations: 8 kB / 479.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.1067, allocations: 232.7 kB / 479.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.988e-05/0.1068, allocations: 59.36 kB / 479.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.091e-05/0.1069, allocations: 7.984 kB / 479.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1069, allocations: 15.44 kB / 479.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1069, allocations: 0 / 479.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Templates: time 0.003429/0.1103, allocations: 0.6886 MB / 480.4 MB, free: 11.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_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: 4.761168472003192]