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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 76.5 kB / 19.94 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 165.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8876/0.8876, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03769/0.03769, allocations: 10.64 MB / 247.9 MB, free: 4.719 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,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=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 369.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.214e-05/4.507e-05, allocations: 9.734 kB / 369.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002088/0.002133, allocations: 0.6864 MB / 370 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.002454, allocations: 55.75 kB / 370.1 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.002507, allocations: 8 kB / 370.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.002543, allocations: 3.938 kB / 370.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.002649, allocations: 7.938 kB / 370.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.002847, allocations: 19.91 kB / 370.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.002975, allocations: 23.98 kB / 370.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.003098, allocations: 7.984 kB / 370.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.063e-05/0.003158, allocations: 11.94 kB / 370.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.00323, allocations: 11.98 kB / 370.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003262, allocations: 4 kB / 370.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.003275, allocations: 8 kB / 370.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.003297, allocations: 7.922 kB / 370.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.003329, allocations: 4 kB / 370.2 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.003445, allocations: 27.95 kB / 370.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.003448, allocations: 0 / 370.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003449, allocations: 0 / 370.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.003454, allocations: 0 / 370.2 MB, free: 5.02 MB / 298.7 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.0004994/0.003954, allocations: 250.4 kB / 370.5 MB, free: 4.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.004021, allocations: 8.031 kB / 370.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.004083, allocations: 8.891 kB / 370.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.004297, allocations: 117.7 kB / 370.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.004319, allocations: 4.375 kB / 370.6 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.004332, allocations: 384 / 370.6 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.004578, allocations: 98.45 kB / 370.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.004587, allocations: 192 / 370.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.004605, allocations: 12.3 kB / 370.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004611, allocations: 384 / 370.7 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.004756, allocations: 35.91 kB / 370.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.005152, allocations: 217.4 kB / 371 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.005317, allocations: 61.3 kB / 371 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.005401, allocations: 37.69 kB / 371.1 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.005427, allocations: 3.938 kB / 371.1 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.005457, allocations: 34.56 kB / 371.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.005459, allocations: 0 / 371.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003544/0.005813, allocations: 101.5 kB / 371.2 MB, free: 3.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.005873, allocations: 106.8 kB / 371.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.005947, allocations: 97.86 kB / 371.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.005964, allocations: 29.7 kB / 371.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.006014, allocations: 84.12 kB / 371.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.006036, allocations: 7.953 kB / 371.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.006077, allocations: 13.97 kB / 371.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.006192, allocations: 318.8 kB / 371.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.006274, allocations: 20.84 kB / 371.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.006371, allocations: 72.42 kB / 371.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.006511, allocations: 49.62 kB / 372 MB, free: 3.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006514, allocations: 0 / 372 MB, free: 3.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001812/0.006695, allocations: 73.69 kB / 372.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.00671, allocations: 8 kB / 372.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.006717, allocations: 3.938 kB / 372.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.006732, allocations: 3.938 kB / 372.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.006816, allocations: 11.98 kB / 372.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.006822, allocations: 0 / 372.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.006871, allocations: 12.06 kB / 372.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.006877, allocations: 0 / 372.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.404e-05/0.006951, allocations: 98.09 kB / 372.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.841e-05/0.00701, allocations: 56.27 kB / 372.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.713e-05/0.007077, allocations: 25.72 kB / 372.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.007078, allocations: 0 / 372.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001171/0.007195, allocations: 57.62 kB / 372.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.007203, allocations: 11.97 kB / 372.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-06/0.007204, allocations: 0 / 372.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-06/0.007208, allocations: 3.938 kB / 372.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.007244, allocations: 12 kB / 372.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.007246, allocations: 0 / 372.4 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.007279, allocations: 4 kB / 372.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.007282, allocations: 0 / 372.4 MB, free: 2.617 MB / 298.7 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.657e-05/0.007369, allocations: 188.2 kB / 372.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.007393, allocations: 0 / 372.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.007417, allocations: 19.2 kB / 372.6 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.007421, allocations: 4 kB / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.007426, allocations: 0 / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.00743, allocations: 0 / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.007567, allocations: 109.2 kB / 372.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.00757, allocations: 4 kB / 372.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.007623, allocations: 8 kB / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.007625, allocations: 0 / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.007638, allocations: 3.984 kB / 372.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.007642, allocations: 7.875 kB / 372.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007643, allocations: 0 / 372.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.008265, allocations: 0.9735 MB / 373.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.008275, allocations: 0 / 373.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.00829, allocations: 4 kB / 373.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.008364, allocations: 7.984 kB / 373.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.008409, allocations: 4 kB / 373.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.008413, allocations: 0 / 373.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.008453, allocations: 87.22 kB / 373.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008453, allocations: 4 kB / 373.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005597/0.009013, allocations: 15.92 kB / 373.8 MB, free: 1.086 MB / 298.7 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.317e-05/0.009106, allocations: 91.25 kB / 373.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.009356, allocations: 55.89 kB / 373.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.009358, allocations: 0 / 373.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.00943, allocations: 24.23 kB / 374 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.009599, allocations: 4 kB / 374 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.009903, allocations: 228.5 kB / 374.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.229e-05/0.009955, allocations: 77.58 kB / 374.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.009987, allocations: 4.125 kB / 374.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.01002, allocations: 12.88 kB / 374.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01002, allocations: 0 / 374.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of Templates: time 0.001954/0.01197, allocations: 0.6944 MB / 375 MB, free: 15.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 50] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.935261517763138]