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.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_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_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.001567/0.001567, allocations: 122.4 kB / 16.43 MB, free: 6.492 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.001628/0.001628, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.487/1.487, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06459/0.06459, allocations: 14.16 MB / 284.8 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.001473/0.001474, allocations: 73.45 kB / 397.2 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07086/0.07235, 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.001855/0.07426, allocations: 0.6746 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.07449, allocations: 64.14 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.07454, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.07458, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.07465, allocations: 3.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.07479, allocations: 19.97 kB / 448.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.07489, allocations: 31.86 kB / 448.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.07499, allocations: 12 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.07502, allocations: 7.984 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.07508, allocations: 15.92 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.0751, allocations: 0 / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.07512, allocations: 4 kB / 448.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.07514, allocations: 7.984 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.07517, allocations: 7.938 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.687e-05/0.07525, allocations: 35.83 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.07526, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.07527, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.07528, allocations: 3.938 kB / 448.2 MB, free: 12.79 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.0003923/0.07568, allocations: 335.5 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.07572, allocations: 8.031 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.07576, allocations: 0.9375 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.0759, allocations: 172.4 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.07592, allocations: 384 / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.07594, allocations: 4.375 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.07613, allocations: 76.81 kB / 448.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.07615, allocations: 4.172 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.07617, allocations: 3.938 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.07618, allocations: 0 / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.07636, allocations: 35.91 kB / 448.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.07675, allocations: 269.8 kB / 449.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.07693, allocations: 73.06 kB / 449.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.07703, allocations: 29.77 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.07706, allocations: 7.938 kB / 449.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.07709, allocations: 34.56 kB / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.0771, allocations: 0 / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003547/0.07746, allocations: 93.53 kB / 449.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.07752, allocations: 107.1 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.0776, allocations: 105.8 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.07762, allocations: 29.7 kB / 449.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.07766, allocations: 80.14 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.07768, allocations: 7.953 kB / 449.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.07772, allocations: 13.72 kB / 449.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.07783, allocations: 314.8 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.07793, allocations: 32.77 kB / 450 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.07802, allocations: 34.56 kB / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.07818, allocations: 45.72 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.07819, allocations: 4 kB / 450.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000245/0.07844, allocations: 77.53 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.07846, allocations: 14.59 kB / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.07847, allocations: 0 / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.07849, allocations: 0 / 450.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.07858, allocations: 11.98 kB / 450.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.0786, allocations: 3.984 kB / 450.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.07866, allocations: 23.94 kB / 450.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.07868, allocations: 0 / 450.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.079e-05/0.07875, allocations: 88.14 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.066e-05/0.07881, allocations: 26.56 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.979e-05/0.0789, allocations: 33.67 kB / 450.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.07891, allocations: 4 kB / 450.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001195/0.07903, allocations: 53.56 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.07905, allocations: 8 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.07905, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-06/0.07906, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.0791, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-06/0.07911, allocations: 4 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.07916, allocations: 8.047 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-06/0.07917, allocations: 4 kB / 450.4 MB, free: 10.25 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 7.96e-05/0.07925, allocations: 180.3 kB / 450.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.07928, allocations: 7.938 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.07931, allocations: 7.078 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.07932, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.07932, allocations: 0 / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.07936, allocations: 85.06 kB / 450.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.07938, allocations: 7.984 kB / 450.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.07948, allocations: 15.94 kB / 450.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.07952, allocations: 11.92 kB / 450.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002649/0.07979, allocations: 228.2 kB / 450.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002777/0.08008, allocations: 322.1 kB / 451.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.074e-05/0.08018, allocations: 27.97 kB / 451.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.942e-05/0.08022, allocations: 75.28 kB / 451.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.08023, allocations: 0 / 451.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000519/0.08075, allocations: 116.4 kB / 451.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003793/0.08114, allocations: 0.5486 MB / 452 MB, free: 8.531 MB / 334.1 MB Notification: Performance of Templates: time 0.00281/0.08396, allocations: 0.7879 MB / 452.8 MB, free: 7.746 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (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) diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches