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.001389/0.001389, allocations: 99.05 kB / 16.03 MB, free: 72 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.001487/0.001488, allocations: 178.8 kB / 16.92 MB, free: 6.754 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.607/1.607, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06458/0.06458, allocations: 14.16 MB / 285.6 MB, free: 7.277 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.000512/0.0005121, allocations: 19.98 kB / 347.4 MB, free: 19.58 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09249, allocations: 51.12 MB / 398.5 MB, free: 440 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.0009817/0.09351, allocations: 415 kB / 398.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000219/0.09375, allocations: 67.78 kB / 399 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.0938, allocations: 4 kB / 399 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.09382, allocations: 3.938 kB / 399 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.0939, allocations: 0 / 399 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.09404, allocations: 19.92 kB / 399 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.912e-05/0.09413, allocations: 23.98 kB / 399.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.09423, allocations: 8 kB / 399.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.09426, allocations: 11.92 kB / 399.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.09433, allocations: 15.97 kB / 399.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.09435, allocations: 0 / 399.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.09437, allocations: 4 kB / 399.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.09439, allocations: 0 / 399.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.09444, allocations: 37.58 kB / 399.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.196e-05/0.09451, allocations: 15.91 kB / 399.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.09452, allocations: 4 kB / 399.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09453, allocations: 8 kB / 399.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.09453, allocations: 0 / 399.2 MB, free: 15.8 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.0003862/0.09493, allocations: 331.7 kB / 399.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.09497, allocations: 8.031 kB / 399.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.09501, allocations: 4.938 kB / 399.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.09517, allocations: 168.4 kB / 399.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.09519, allocations: 4.375 kB / 399.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.09521, allocations: 4.375 kB / 399.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.09541, allocations: 76.8 kB / 399.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.09543, allocations: 4.125 kB / 399.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.09545, allocations: 3.938 kB / 399.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.09546, allocations: 0 / 399.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.09565, allocations: 51.95 kB / 399.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.09604, allocations: 277.8 kB / 400.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.09626, allocations: 81.06 kB / 400.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.09637, allocations: 37.77 kB / 400.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.0964, allocations: 3.984 kB / 400.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.09643, allocations: 30.56 kB / 400.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.09644, allocations: 3.938 kB / 400.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003999/0.09685, allocations: 109.5 kB / 400.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.09692, allocations: 106.8 kB / 400.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.097, allocations: 101.8 kB / 400.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.09702, allocations: 25.7 kB / 400.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.09706, allocations: 84.39 kB / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.09709, allocations: 11.91 kB / 400.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.09712, allocations: 13.7 kB / 400.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.09722, allocations: 310.8 kB / 401 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.09732, allocations: 23.98 kB / 401 MB, free: 13.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.09743, allocations: 42.55 kB / 401 MB, free: 13.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.09762, allocations: 57.62 kB / 401.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.09763, allocations: 4.031 kB / 401.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002192/0.09785, allocations: 81.55 kB / 401.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.09797, allocations: 109.9 kB / 401.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.09798, allocations: 0 / 401.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.098, allocations: 0 / 401.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.0981, allocations: 8 kB / 401.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.09811, allocations: 4 kB / 401.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.09818, allocations: 7.984 kB / 401.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.0982, allocations: 4 kB / 401.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.09821, allocations: 8 kB / 401.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001005/0.09832, allocations: 27.86 kB / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.09833, allocations: 0 / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.09834, allocations: 0 / 401.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.09838, allocations: 15.98 kB / 401.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.09839, allocations: 0 / 401.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.09843, allocations: 4 kB / 401.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.09844, allocations: 0 / 401.4 MB, free: 13.3 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 9.576e-05/0.09854, allocations: 209 kB / 401.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.09858, allocations: 7.844 kB / 401.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.0986, allocations: 3.125 kB / 401.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.09861, allocations: 4 kB / 401.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.09863, allocations: 3.984 kB / 401.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.09863, allocations: 0 / 401.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.0988, allocations: 161.6 kB / 401.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.09881, allocations: 4 kB / 401.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.09888, allocations: 15.92 kB / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.0989, allocations: 4 kB / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.09891, allocations: 0 / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.09892, allocations: 4 kB / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.09892, allocations: 0 / 401.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.09953, allocations: 0.7446 MB / 402.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.09958, allocations: 85.09 kB / 402.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.0996, allocations: 0 / 402.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.0997, allocations: 15.98 kB / 402.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.09974, allocations: 7.984 kB / 402.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.09975, allocations: 0 / 402.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.09979, allocations: 83.28 kB / 402.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.615e-06/0.09981, allocations: 0 / 402.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.1003, allocations: 11.88 kB / 402.7 MB, free: 11.81 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.009e-05/0.1004, allocations: 95.25 kB / 402.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.1007, allocations: 67.89 kB / 402.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1007, allocations: 3.938 kB / 402.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.1008, allocations: 24.3 kB / 402.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.101, allocations: 12.05 kB / 402.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1015, allocations: 226.2 kB / 403.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1018, allocations: 0.677 MB / 403.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.1018, allocations: 8 kB / 403.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.1019, allocations: 7.438 kB / 403.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1019, allocations: 3.938 kB / 403.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Templates: time 0.002772/0.1047, allocations: 0.5381 MB / 404.4 MB, free: 10.08 MB / 302.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","../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches