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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,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=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 116.8 kB / 17.09 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 196.2 kB / 18.03 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06589/0.06589, allocations: 14.16 MB / 285.4 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.002121, allocations: 68.22 kB / 397.8 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09605, allocations: 50.14 MB / 448 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002082/0.09818, allocations: 0.6785 MB / 448.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.09849, allocations: 64.12 kB / 448.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.09854, allocations: 0 / 448.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.09859, allocations: 3.938 kB / 448.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.09868, allocations: 4 kB / 448.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.09887, allocations: 23.92 kB / 448.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.09899, allocations: 27.92 kB / 448.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.0991, allocations: 3.984 kB / 448.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.09914, allocations: 11.98 kB / 448.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.0992, allocations: 15.92 kB / 448.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.09923, allocations: 4 kB / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.09924, allocations: 4 kB / 448.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.09927, allocations: 11.98 kB / 448.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.09931, allocations: 7.875 kB / 448.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.123e-05/0.09941, allocations: 27.84 kB / 448.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.09942, allocations: 4 kB / 448.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09943, allocations: 0 / 448.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.09943, allocations: 0 / 448.9 MB, free: 12.77 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.0005139/0.09995, allocations: 331.5 kB / 449.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1, allocations: 8.031 kB / 449.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1, allocations: 0.9375 kB / 449.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1003, allocations: 176.4 kB / 449.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.1003, allocations: 384 / 449.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1003, allocations: 8.375 kB / 449.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1005, allocations: 76.73 kB / 449.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1005, allocations: 192 / 449.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1005, allocations: 3.938 kB / 449.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1006, allocations: 0 / 449.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1007, allocations: 35.97 kB / 449.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1012, allocations: 265.8 kB / 449.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1014, allocations: 81.06 kB / 449.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.1015, allocations: 25.77 kB / 449.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1015, allocations: 4 kB / 449.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.1015, allocations: 34.56 kB / 449.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1015, allocations: 3.938 kB / 449.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003982/0.102, allocations: 93.59 kB / 450 MB, free: 11.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.102, allocations: 106.8 kB / 450.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.1021, allocations: 105.8 kB / 450.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1022, allocations: 29.7 kB / 450.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.1022, allocations: 80.39 kB / 450.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1023, allocations: 7.953 kB / 450.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1023, allocations: 17.72 kB / 450.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1025, allocations: 314.8 kB / 450.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.1026, allocations: 28.83 kB / 450.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.1027, allocations: 34.56 kB / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1029, allocations: 49.72 kB / 450.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1029, allocations: 0 / 450.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002176/0.1031, allocations: 77.53 kB / 450.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1031, allocations: 12 kB / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1031, allocations: 0 / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1032, allocations: 0 / 450.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.1033, allocations: 11.98 kB / 450.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1033, allocations: 0 / 450.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.1033, allocations: 19.88 kB / 450.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1034, allocations: 4 kB / 450.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.126e-05/0.1035, allocations: 88.08 kB / 450.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.61e-05/0.1035, allocations: 34.56 kB / 451 MB, free: 10.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.241e-05/0.1036, allocations: 25.7 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.1036, allocations: 4 kB / 451 MB, free: 10.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001305/0.1038, allocations: 57.56 kB / 451.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.1038, allocations: 4 kB / 451.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.1038, allocations: 4.094 kB / 451.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-06/0.1038, allocations: 0 / 451.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.1038, allocations: 8 kB / 451.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-06/0.1038, allocations: 0 / 451.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.1039, allocations: 7.984 kB / 451.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1039, allocations: 4 kB / 451.1 MB, free: 10.23 MB / 334.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.0001747/0.1041, allocations: 180.2 kB / 451.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1041, allocations: 4 kB / 451.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.1041, allocations: 15.08 kB / 451.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1042, allocations: 0 / 451.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1042, allocations: 4 kB / 451.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1042, allocations: 0 / 451.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1044, allocations: 161.6 kB / 451.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1044, allocations: 3.938 kB / 451.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1045, allocations: 11.98 kB / 451.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1045, allocations: 4 kB / 451.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1045, allocations: 0 / 451.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1045, allocations: 0 / 451.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1045, allocations: 3.984 kB / 451.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008094/0.1053, allocations: 0.9735 MB / 452.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1054, allocations: 77.11 kB / 452.5 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1054, allocations: 4 kB / 452.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.1055, allocations: 15.86 kB / 452.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1056, allocations: 7.938 kB / 452.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1056, allocations: 0 / 452.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.199e-05/0.1056, allocations: 87.69 kB / 452.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1056, allocations: 0 / 452.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.1061, allocations: 8 kB / 452.6 MB, free: 8.535 MB / 334.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.1063, allocations: 95.25 kB / 452.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1066, allocations: 55.89 kB / 452.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1066, allocations: 0 / 452.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1067, allocations: 32.23 kB / 452.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1069, allocations: 2.203 kB / 452.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.1074, allocations: 224.4 kB / 453 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1078, allocations: 0.6807 MB / 453.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.1078, allocations: 4.203 kB / 453.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.1079, allocations: 11.44 kB / 453.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1079, allocations: 0 / 453.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of Templates: time 0.00335/0.1112, allocations: 0.6351 MB / 454.4 MB, free: 6.727 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) 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) Reference file matches