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.001539/0.001539, allocations: 113.1 kB / 16.42 MB, free: 6.035 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.001469/0.001468, allocations: 187.1 kB / 17.35 MB, free: 5.633 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.612/1.612, allocations: 205.1 MB / 223.2 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.06368/0.06368, allocations: 14.16 MB / 284.7 MB, free: 13.87 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.001541/0.001541, allocations: 68.12 kB / 397.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.101, allocations: 50.14 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001953/0.103, allocations: 0.6758 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000248/0.1032, allocations: 60.14 kB / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1033, allocations: 0 / 448 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.1033, allocations: 3.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.1034, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1036, allocations: 23.91 kB / 448.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.1037, allocations: 27.92 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.1038, allocations: 8 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.1038, allocations: 11.98 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.1039, allocations: 15.92 kB / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1039, allocations: 0 / 448.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.1039, allocations: 4 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.1039, allocations: 7.938 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.104, allocations: 11.92 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.515e-05/0.104, allocations: 27.91 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1041, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1041, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1041, allocations: 0 / 448.2 MB, free: 12.8 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.0004106/0.1045, allocations: 335.5 kB / 448.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1045, allocations: 8.031 kB / 448.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.1046, allocations: 4.938 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1047, allocations: 168.3 kB / 448.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1048, allocations: 8.375 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.1048, allocations: 384 / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.105, allocations: 76.75 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.105, allocations: 192 / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.105, allocations: 3.938 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.105, allocations: 0 / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1052, allocations: 39.95 kB / 448.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.1055, allocations: 269.8 kB / 449.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1058, allocations: 73.16 kB / 449.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1059, allocations: 33.7 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1059, allocations: 4 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1059, allocations: 38.5 kB / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1059, allocations: 0 / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.1063, allocations: 85.64 kB / 449.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.1064, allocations: 111 kB / 449.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.1065, allocations: 105.8 kB / 449.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1065, allocations: 25.7 kB / 449.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.1065, allocations: 80.14 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1066, allocations: 11.75 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.1066, allocations: 17.72 kB / 449.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1067, allocations: 310.8 kB / 449.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.1068, allocations: 32.83 kB / 450 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.1069, allocations: 38.73 kB / 450 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1071, allocations: 53.66 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1071, allocations: 0 / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.1073, allocations: 73.59 kB / 450.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1073, allocations: 7.938 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1073, allocations: 0 / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1074, allocations: 0 / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.1074, allocations: 11.98 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.1075, allocations: 8 kB / 450.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.1075, allocations: 15.98 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1076, allocations: 0 / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.889e-05/0.1076, allocations: 88.12 kB / 450.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.31e-05/0.1077, allocations: 30.56 kB / 450.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.298e-05/0.1078, allocations: 33.73 kB / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.32e-07/0.1078, allocations: 0 / 450.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001314/0.1079, allocations: 57.56 kB / 450.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.1079, allocations: 4 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.108, allocations: 0 / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.108, allocations: 0 / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.108, allocations: 8 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/0.108, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.1081, allocations: 12.05 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-06/0.1081, allocations: 4 kB / 450.4 MB, free: 10.26 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 8.6e-05/0.1082, allocations: 184.2 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1082, allocations: 3.906 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.1082, allocations: 11.08 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1082, allocations: 7.938 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1082, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1082, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1084, allocations: 169.5 kB / 450.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1084, allocations: 4 kB / 450.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.1085, allocations: 11.98 kB / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1085, allocations: 4 kB / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1085, allocations: 0 / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1085, allocations: 0 / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1085, allocations: 0 / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.1092, allocations: 0.9657 MB / 451.8 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1092, allocations: 81.11 kB / 451.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1092, allocations: 0 / 451.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.1093, allocations: 15.86 kB / 451.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1094, allocations: 8 kB / 451.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1094, allocations: 0 / 451.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.1094, allocations: 87.27 kB / 451.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1094, allocations: 0 / 451.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.1099, allocations: 8 kB / 452 MB, free: 8.566 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 8.411e-05/0.11, allocations: 95.19 kB / 452 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1103, allocations: 55.95 kB / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1103, allocations: 0 / 452.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.1104, allocations: 27.92 kB / 452.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1106, allocations: 0.9375 kB / 452.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.111, allocations: 241 kB / 452.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1113, allocations: 0.6768 MB / 453 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.1113, allocations: 4 kB / 453 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.1114, allocations: 11.44 kB / 453.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1114, allocations: 0 / 453.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of Templates: time 0.002469/0.1138, allocations: 0.6277 MB / 453.7 MB, free: 6.758 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches