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.001067/0.001067, allocations: 107.4 kB / 16.41 MB, free: 6.375 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.001109/0.00111, allocations: 196.8 kB / 17.34 MB, free: 5.836 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06159/0.06159, 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.001367/0.001367, allocations: 68.22 kB / 397.1 MB, free: 43.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09337, allocations: 50.13 MB / 447.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001787/0.09519, allocations: 0.683 MB / 448 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.09545, allocations: 60.14 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.0955, allocations: 0 / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.09554, allocations: 3.938 kB / 448 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.09562, allocations: 7.984 kB / 448 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.09577, allocations: 19.92 kB / 448 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.09588, allocations: 27.92 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.09599, allocations: 8 kB / 448.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.09603, allocations: 7.984 kB / 448.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.09609, allocations: 23.86 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.09611, allocations: 0 / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.09613, allocations: 4 kB / 448.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.09615, allocations: 7.984 kB / 448.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.09619, allocations: 11.92 kB / 448.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.802e-05/0.09627, allocations: 19.92 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09628, allocations: 3.938 kB / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09629, allocations: 0 / 448.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.0963, 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.0003979/0.0967, allocations: 339.5 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.09674, allocations: 8.031 kB / 448.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.09678, allocations: 4.938 kB / 448.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.09696, allocations: 168.4 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.09698, allocations: 4.375 kB / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.09699, allocations: 384 / 448.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.09718, allocations: 72.75 kB / 448.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.0972, allocations: 4.188 kB / 448.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.09722, allocations: 3.938 kB / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.09723, allocations: 0 / 448.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.09741, allocations: 43.95 kB / 448.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.09777, allocations: 265.8 kB / 449.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.09794, allocations: 69.12 kB / 449.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.09804, allocations: 33.75 kB / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.09807, allocations: 0 / 449.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.09812, allocations: 42.5 kB / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.09812, allocations: 0 / 449.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000351/0.09848, allocations: 97.47 kB / 449.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.09854, allocations: 106.8 kB / 449.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.09862, allocations: 102.1 kB / 449.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.09864, allocations: 25.7 kB / 449.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.09869, allocations: 80.14 kB / 449.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.09871, allocations: 15.92 kB / 449.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.09876, allocations: 13.72 kB / 449.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.09886, allocations: 314.8 kB / 449.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.09895, allocations: 20.84 kB / 450 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.09905, allocations: 46.72 kB / 450 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.09922, allocations: 49.62 kB / 450 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.09923, allocations: 0 / 450 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002047/0.09944, allocations: 81.62 kB / 450.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.09947, allocations: 4 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.09948, allocations: 3.938 kB / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.0995, allocations: 0 / 450.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.09959, allocations: 15.92 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.09961, allocations: 4 kB / 450.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.09967, allocations: 11.95 kB / 450.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.09968, allocations: 4 kB / 450.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.177e-05/0.09976, allocations: 88.12 kB / 450.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.162e-05/0.09982, allocations: 30.56 kB / 450.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.585e-05/0.0999, allocations: 25.72 kB / 450.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.09991, allocations: 0 / 450.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001198/0.1, allocations: 61.59 kB / 450.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.1001, allocations: 4 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-06/0.1001, allocations: 0 / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.1001, allocations: 3.984 kB / 450.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.1001, allocations: 8 kB / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-06/0.1001, allocations: 0 / 450.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.1002, allocations: 8 kB / 450.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.1002, allocations: 0 / 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 8.779e-05/0.1003, allocations: 192.2 kB / 450.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.1003, allocations: 7.984 kB / 450.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.1003, allocations: 7.078 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1003, allocations: 4 kB / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1003, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1003, allocations: 0 / 450.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1005, allocations: 165.6 kB / 450.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1005, allocations: 4 kB / 450.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.1006, allocations: 8 kB / 450.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1006, allocations: 4 kB / 450.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1006, allocations: 3.938 kB / 450.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1006, allocations: 0 / 450.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1006, allocations: 3.984 kB / 450.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.1012, allocations: 0.9618 MB / 451.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1013, allocations: 85.09 kB / 451.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1013, allocations: 0 / 451.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.1014, allocations: 7.938 kB / 451.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1014, allocations: 15.92 kB / 451.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1014, allocations: 4 kB / 451.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.1015, allocations: 79.28 kB / 451.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1015, allocations: 0 / 451.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.102, allocations: 8 kB / 451.9 MB, free: 8.562 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 9.545e-05/0.1021, allocations: 103.2 kB / 452 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1023, allocations: 56.02 kB / 452.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1023, allocations: 0 / 452.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.1024, allocations: 23.98 kB / 452.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1027, allocations: 0 / 452.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.1032, allocations: 224.7 kB / 452.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1035, allocations: 0.6807 MB / 453 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.509e-05/0.1035, allocations: 3.984 kB / 453 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.1036, allocations: 11.44 kB / 453 MB, free: 7.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1036, allocations: 4 kB / 453 MB, free: 7.383 MB / 334.1 MB Notification: Performance of Templates: time 0.002723/0.1063, allocations: 0.6421 MB / 453.7 MB, free: 6.746 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