Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="discontinuousDeadBand.smoothed|discontinuousDeadBand.u|discontinuousDeadBand.uMax|discontinuousDeadBand.uMin|discontinuousDeadBand.y|discontinuousDeadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007948/0.0007949, allocations: 92.95 kB / 16.03 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 176.2 kB / 16.92 MB, free: 6.773 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.653/1.653, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06123/0.06123, allocations: 14.15 MB / 285.6 MB, free: 7.039 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.000488/0.000488, allocations: 12 kB / 347.4 MB, free: 19.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09653, allocations: 51.11 MB / 398.5 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDiscontinuousDeadBand): time 0.0008502/0.09742, allocations: 422.9 kB / 398.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.09762, allocations: 59.8 kB / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.09767, allocations: 4 kB / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.09769, allocations: 0 / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.09777, allocations: 0 / 399 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.09791, allocations: 19.98 kB / 399 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.09799, allocations: 19.92 kB / 399 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.09808, allocations: 4 kB / 399 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.09812, allocations: 11.94 kB / 399.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.09818, allocations: 11.98 kB / 399.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.0982, allocations: 0 / 399.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.09821, allocations: 0 / 399.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.09824, allocations: 11.92 kB / 399.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.09828, allocations: 33.69 kB / 399.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.665e-05/0.09835, allocations: 15.92 kB / 399.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.09836, allocations: 0 / 399.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09837, allocations: 0 / 399.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.09837, allocations: 0 / 399.1 MB, free: 15.78 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004156/0.09879, allocations: 335.7 kB / 399.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.09884, allocations: 15.97 kB / 399.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.09888, allocations: 8.938 kB / 399.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.09908, allocations: 168.4 kB / 399.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.09911, allocations: 384 / 399.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.09913, allocations: 384 / 399.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.09935, allocations: 76.81 kB / 399.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.09938, allocations: 8.172 kB / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.0994, allocations: 3.938 kB / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.09942, allocations: 4 kB / 399.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.09961, allocations: 47.89 kB / 399.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1001, allocations: 269.9 kB / 400 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1003, allocations: 85.12 kB / 400.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1004, allocations: 33.7 kB / 400.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1004, allocations: 0 / 400.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1005, allocations: 34.5 kB / 400.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1005, allocations: 4 kB / 400.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004084/0.1009, allocations: 105.5 kB / 400.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.101, allocations: 107.1 kB / 400.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.1011, allocations: 105.8 kB / 400.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1011, allocations: 25.7 kB / 400.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.1011, allocations: 80.14 kB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1012, allocations: 7.891 kB / 400.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1012, allocations: 17.72 kB / 400.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1014, allocations: 318.8 kB / 400.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.1014, allocations: 19.98 kB / 401 MB, free: 13.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.523e-05/0.1016, allocations: 42.5 kB / 401 MB, free: 13.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1017, allocations: 53.72 kB / 401.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1017, allocations: 4 kB / 401.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002156/0.102, allocations: 89.56 kB / 401.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.102, allocations: 97.86 kB / 401.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.102, allocations: 0 / 401.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1021, allocations: 0 / 401.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.1022, allocations: 11.98 kB / 401.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1022, allocations: 4 kB / 401.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1022, allocations: 16.02 kB / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1023, allocations: 0 / 401.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/0.1023, allocations: 4 kB / 401.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.217e-05/0.1024, allocations: 27.86 kB / 401.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.1024, allocations: 0 / 401.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.1024, allocations: 4 kB / 401.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.1024, allocations: 4 kB / 401.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.1024, allocations: 0 / 401.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.1025, allocations: 16.05 kB / 401.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-06/0.1025, allocations: 0 / 401.3 MB, free: 13.28 MB / 302.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.0001046/0.1026, allocations: 193 kB / 401.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1026, allocations: 7.844 kB / 401.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.1027, allocations: 7.125 kB / 401.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1027, allocations: 4 kB / 401.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1027, allocations: 3.938 kB / 401.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1027, allocations: 0 / 401.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.1028, allocations: 165.6 kB / 401.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1029, allocations: 4 kB / 401.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.1029, allocations: 15.92 kB / 401.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1029, allocations: 0 / 401.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.103, allocations: 4 kB / 401.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.103, allocations: 4 kB / 401.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.103, allocations: 0 / 401.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.1035, allocations: 0.7446 MB / 402.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.1036, allocations: 85.14 kB / 402.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1036, allocations: 4 kB / 402.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.1037, allocations: 11.98 kB / 402.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1037, allocations: 0 / 402.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1037, allocations: 4 kB / 402.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.1038, allocations: 83.27 kB / 402.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1038, allocations: 0 / 402.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.1043, allocations: 15.88 kB / 402.7 MB, free: 11.8 MB / 302.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 9.516e-05/0.1044, allocations: 99.19 kB / 402.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1047, allocations: 63.89 kB / 402.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1047, allocations: 256 / 402.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.1048, allocations: 31.92 kB / 402.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.105, allocations: 8 kB / 402.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.1055, allocations: 230.3 kB / 403.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1059, allocations: 0.677 MB / 403.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.1059, allocations: 0 / 403.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1059, allocations: 15.38 kB / 403.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1059, allocations: 4 kB / 403.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of Templates: time 0.003171/0.1091, allocations: 0.5103 MB / 404.3 MB, free: 10.09 MB / 302.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDiscontinuousDeadBand_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches