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.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.001272/0.001272, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001516/0.001516, allocations: 174.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.342/1.342, allocations: 158.6 MB / 184.2 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] 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.06217/0.06217, allocations: 10.64 MB / 247.1 MB, free: 8.496 MB / 238.1 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_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_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 368.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.594e-05, allocations: 2.281 kB / 368.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001832/0.001858, allocations: 0.6941 MB / 369.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002408/0.002099, allocations: 63.73 kB / 369.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.002136, allocations: 0 / 369.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.002168, allocations: 3.938 kB / 369.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.002238, allocations: 0 / 369.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.002384, allocations: 19.92 kB / 369.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.002483, allocations: 27.92 kB / 369.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.002573, allocations: 3.984 kB / 369.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.00262, allocations: 19.94 kB / 369.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.002674, allocations: 11.98 kB / 369.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.002711, allocations: 0 / 369.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.002723, allocations: 4 kB / 369.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.002742, allocations: 7.984 kB / 369.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.002769, allocations: 7.922 kB / 369.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.875e-05/0.002847, allocations: 23.97 kB / 369.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002849, allocations: 0 / 369.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00285, allocations: 0 / 369.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.002859, allocations: 0 / 369.5 MB, free: 11.77 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.0004338/0.003293, allocations: 254.4 kB / 369.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.003328, allocations: 12.03 kB / 369.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.003364, allocations: 8.875 kB / 369.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.003529, allocations: 117.7 kB / 369.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.003535, allocations: 384 / 369.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.003548, allocations: 384 / 369.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.003791, allocations: 102.5 kB / 370 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.003799, allocations: 192 / 370 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.003813, allocations: 4.359 kB / 370 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003817, allocations: 384 / 370 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.004002, allocations: 43.84 kB / 370 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.004362, allocations: 209.4 kB / 370.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.004562, allocations: 73.17 kB / 370.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.004674, allocations: 29.75 kB / 370.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.004689, allocations: 4 kB / 370.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.004724, allocations: 42.5 kB / 370.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.004726, allocations: 0 / 370.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003965/0.005122, allocations: 97.47 kB / 370.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.005196, allocations: 106.8 kB / 370.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.005275, allocations: 97.86 kB / 370.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.005297, allocations: 33.95 kB / 370.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.005354, allocations: 84.12 kB / 370.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.005373, allocations: 3.953 kB / 370.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.00541, allocations: 17.72 kB / 370.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.005561, allocations: 314.8 kB / 371.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.005661, allocations: 20.84 kB / 371.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.005783, allocations: 68.25 kB / 371.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.005966, allocations: 49.66 kB / 371.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005968, allocations: 4 kB / 371.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002346/0.006203, allocations: 77.59 kB / 371.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.006216, allocations: 4 kB / 371.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.006222, allocations: 3.938 kB / 371.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.006236, allocations: 0 / 371.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.00633, allocations: 16.05 kB / 371.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006334, allocations: 0 / 371.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.006404, allocations: 8 kB / 371.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.00641, allocations: 0 / 371.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001003/0.006511, allocations: 90.09 kB / 371.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.463e-05/0.006585, allocations: 56.27 kB / 371.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.175e-05/0.006677, allocations: 29.66 kB / 371.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.006678, allocations: 4.031 kB / 371.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001394/0.006817, allocations: 57.62 kB / 371.6 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.006825, allocations: 4 kB / 371.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.006827, allocations: 0 / 371.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.006841, allocations: 8.312 kB / 371.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.006884, allocations: 7.938 kB / 371.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-06/0.006885, allocations: 0 / 371.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.006929, allocations: 4 kB / 371.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.006932, allocations: 64 / 371.6 MB, free: 9.379 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 0.0001073/0.007039, allocations: 188.2 kB / 371.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.007065, allocations: 0 / 371.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.007091, allocations: 27.12 kB / 371.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.007098, allocations: 4 kB / 371.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.007102, allocations: 0 / 371.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.007104, allocations: 0 / 371.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.007255, allocations: 113.3 kB / 371.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.007256, allocations: 0 / 371.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/0.007322, allocations: 8 kB / 371.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007324, allocations: 4 kB / 371.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.007334, allocations: 3.984 kB / 371.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.007337, allocations: 7.875 kB / 371.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.007344, allocations: 4 kB / 371.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.007633, allocations: 176.3 kB / 372.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.007641, allocations: 0 / 372.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.007654, allocations: 0 / 372.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.007744, allocations: 15.92 kB / 372.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.007781, allocations: 8 kB / 372.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.007787, allocations: 4 kB / 372.1 MB, free: 8.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.007834, allocations: 79.27 kB / 372.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007834, allocations: 0 / 372.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.008109, allocations: 8 kB / 372.2 MB, free: 8.688 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 0.0001085/0.008218, allocations: 99.19 kB / 372.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.008503, allocations: 60.02 kB / 372.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.008505, allocations: 0 / 372.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.008606, allocations: 27.92 kB / 372.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.008826, allocations: 10.08 kB / 372.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.009195, allocations: 121.8 kB / 372.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.142e-05/0.009256, allocations: 63.34 kB / 372.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.946e-05/0.009296, allocations: 4.25 kB / 372.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.009332, allocations: 12.5 kB / 372.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.009332, allocations: 0 / 372.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Templates: time 0.003253/0.01258, allocations: 0.6871 MB / 373.3 MB, free: 7.566 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerGrids_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_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: 4.105769090354443]