Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.0009425/0.0009425, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001016/0.001016, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.05161/0.05161, allocations: 13.12 MB / 273.4 MB, free: 224 kB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_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_dev_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0.7031 kB / 294.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.469e-05, allocations: 4.547 kB / 294.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002502/0.002527, allocations: 0.7364 MB / 295.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.002818, allocations: 60.72 kB / 295.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.002856, allocations: 0 / 295.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.002886, allocations: 5.734 kB / 295.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.002985, allocations: 2.156 kB / 295.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.003164, allocations: 24.84 kB / 295.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003278, allocations: 27.36 kB / 295.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.003367, allocations: 4.297 kB / 295.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.003433, allocations: 12.16 kB / 295.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.003506, allocations: 20.17 kB / 295.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003529, allocations: 2.719 kB / 295.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.00354, allocations: 3.688 kB / 295.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.003562, allocations: 5.406 kB / 295.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.00359, allocations: 8.422 kB / 295.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.003683, allocations: 16.56 kB / 295.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.003687, allocations: 0.7031 kB / 295.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003688, allocations: 1.344 kB / 295.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003692, allocations: 0.5625 kB / 295.4 MB, free: 11.39 MB / 266.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.0002829/0.003975, allocations: 233.9 kB / 295.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.004013, allocations: 10.56 kB / 295.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.00405, allocations: 3.594 kB / 295.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.004163, allocations: 118.5 kB / 295.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004173, allocations: 2.328 kB / 295.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004184, allocations: 2.344 kB / 295.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.004363, allocations: 104.2 kB / 295.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004373, allocations: 0.6875 kB / 295.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.004382, allocations: 2.281 kB / 295.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.004389, allocations: 384 / 295.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.00443, allocations: 17.88 kB / 295.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.004678, allocations: 161.1 kB / 296 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.004756, allocations: 46.55 kB / 296.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.004783, allocations: 19.16 kB / 296.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.004798, allocations: 1.062 kB / 296.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.004818, allocations: 32.53 kB / 296.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.004819, allocations: 1 kB / 296.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.004964, allocations: 51.7 kB / 296.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.004992, allocations: 108.6 kB / 296.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.68e-05/0.005039, allocations: 100.5 kB / 296.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.005047, allocations: 27.17 kB / 296.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.005069, allocations: 86.02 kB / 296.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.005088, allocations: 14.2 kB / 296.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.005121, allocations: 17.69 kB / 296.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.005157, allocations: 316 kB / 296.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.005184, allocations: 12.16 kB / 296.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.408e-05/0.005218, allocations: 51.8 kB / 296.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.005261, allocations: 21.14 kB / 296.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005263, allocations: 3.656 kB / 296.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.207e-05/0.005345, allocations: 46.7 kB / 297 MB, free: 9.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.005361, allocations: 5.688 kB / 297 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.005373, allocations: 2.484 kB / 297 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.005388, allocations: 0 / 297 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.005471, allocations: 12.7 kB / 297 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.005475, allocations: 1.094 kB / 297 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.005516, allocations: 10.11 kB / 297 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.005525, allocations: 9.406 kB / 297 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.182e-05/0.005557, allocations: 83.11 kB / 297.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.719e-05/0.005584, allocations: 46.42 kB / 297.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.876e-05/0.005613, allocations: 22.44 kB / 297.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.005614, allocations: 0.6562 kB / 297.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 6.261e-05/0.005677, allocations: 42.42 kB / 297.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.005687, allocations: 6.281 kB / 297.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.005689, allocations: 96 / 297.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-06/0.005691, allocations: 5.156 kB / 297.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.865e-05/0.00573, allocations: 6.453 kB / 297.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.005734, allocations: 5.344 kB / 297.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.005767, allocations: 5.359 kB / 297.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.005771, allocations: 1.031 kB / 297.2 MB, free: 9.574 MB / 266.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 4.823e-05/0.005819, allocations: 184.1 kB / 297.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.005846, allocations: 2.766 kB / 297.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.00587, allocations: 5.047 kB / 297.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.005873, allocations: 1.875 kB / 297.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005877, allocations: 9.031 kB / 297.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.00588, allocations: 0 / 297.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.005994, allocations: 73.66 kB / 297.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005996, allocations: 1.5 kB / 297.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.006045, allocations: 11.67 kB / 297.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.006047, allocations: 7.875 kB / 297.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006054, allocations: 2 kB / 297.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.006056, allocations: 1.406 kB / 297.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.006058, allocations: 0.7031 kB / 297.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.338e-05/0.006151, allocations: 140.9 kB / 297.6 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.006162, allocations: 6.891 kB / 297.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.006176, allocations: 1.688 kB / 297.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.006253, allocations: 6.297 kB / 297.7 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.006293, allocations: 7.906 kB / 297.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.006298, allocations: 5.219 kB / 297.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.575e-05/0.006314, allocations: 9.594 kB / 297.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006314, allocations: 0 / 297.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.006543, allocations: 7.781 kB / 297.7 MB, free: 9.133 MB / 266.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 7.995e-05/0.006623, allocations: 78.56 kB / 297.8 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.006735, allocations: 39.88 kB / 297.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.006739, allocations: 0 / 297.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.006763, allocations: 12.52 kB / 297.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.006931, allocations: 5.312 kB / 297.8 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.007185, allocations: 118.2 kB / 297.9 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.903e-05/0.007214, allocations: 60.19 kB / 298 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.007253, allocations: 6.781 kB / 298 MB, free: 8.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.007317, allocations: 59.06 kB / 298.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.007318, allocations: 0 / 298.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of Templates: time 0.003382/0.0107, allocations: 0.7258 MB / 298.8 MB, free: 8.699 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","",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.653258482925594]