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.0009628/0.0009628, allocations: 71.77 kB / 20.73 MB, free: 3.758 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.0009949/0.0009949, allocations: 173.3 kB / 24.15 MB, free: 340 kB / 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.9903/0.9903, allocations: 158.6 MB / 186 MB, free: 2.766 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.04215/0.04215, allocations: 10.65 MB / 249 MB, free: 4.352 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 1.192e-06/1.192e-06, allocations: 0 / 269.3 MB, free: 92 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.55e-05, allocations: 2.312 kB / 269.3 MB, free: 88 kB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001617/0.001633, allocations: 0.7568 MB / 270 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.001897, allocations: 55.81 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.001931, allocations: 0 / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.001959, allocations: 3.938 kB / 270.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.03e-05/0.00205, allocations: 7.984 kB / 270.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.002185, allocations: 15.92 kB / 270.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.002283, allocations: 31.92 kB / 270.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.002357, allocations: 7.984 kB / 270.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.002406, allocations: 8 kB / 270.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.002466, allocations: 15.92 kB / 270.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.002485, allocations: 4 kB / 270.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-06/0.002492, allocations: 0 / 270.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.002512, allocations: 15.97 kB / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.002528, allocations: 0 / 270.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.213e-05/0.002601, allocations: 19.92 kB / 270.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002602, allocations: 0 / 270.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002603, allocations: 0 / 270.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.002606, allocations: 4 kB / 270.2 MB, free: 15.14 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.000293/0.002899, allocations: 236.9 kB / 270.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.002932, allocations: 12.03 kB / 270.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.002962, allocations: 4.938 kB / 270.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.003081, allocations: 105.8 kB / 270.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.003089, allocations: 384 / 270.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.0031, allocations: 8.312 kB / 270.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.003255, allocations: 99.22 kB / 270.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.003263, allocations: 192 / 270.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.003272, allocations: 8.375 kB / 270.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.003278, allocations: 384 / 270.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.003314, allocations: 19.86 kB / 270.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.003547, allocations: 153.2 kB / 270.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.003625, allocations: 49.17 kB / 270.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.003655, allocations: 25.78 kB / 270.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.003668, allocations: 0 / 270.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.003693, allocations: 34.56 kB / 270.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.003694, allocations: 4 kB / 270.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001271/0.003821, allocations: 45.62 kB / 271 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.003869, allocations: 106.8 kB / 271.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.003928, allocations: 102.7 kB / 271.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.00394, allocations: 25.7 kB / 271.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.003974, allocations: 88.12 kB / 271.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.003999, allocations: 11.89 kB / 271.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.004029, allocations: 13.72 kB / 271.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.004113, allocations: 311.1 kB / 271.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.004134, allocations: 20.8 kB / 271.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.004176, allocations: 52.45 kB / 271.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.004215, allocations: 25.64 kB / 271.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.004218, allocations: 4 kB / 271.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.864e-05/0.004287, allocations: 45.62 kB / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.004298, allocations: 4 kB / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.004303, allocations: 0 / 271.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.004315, allocations: 4.188 kB / 271.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.004385, allocations: 19.91 kB / 271.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.004388, allocations: 0 / 271.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.00442, allocations: 4 kB / 271.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.004426, allocations: 0 / 271.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.265e-05/0.004469, allocations: 88.12 kB / 271.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.772e-05/0.004497, allocations: 44.28 kB / 271.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.013e-05/0.004527, allocations: 29.64 kB / 272 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-07/0.004527, allocations: 4.031 kB / 272 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.628e-05/0.004584, allocations: 33.7 kB / 272 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.00459, allocations: 8 kB / 272 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.004592, allocations: 3.984 kB / 272 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.004595, allocations: 0 / 272 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.004621, allocations: 7.938 kB / 272 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.004623, allocations: 3.938 kB / 272 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.004648, allocations: 4 kB / 272 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.004652, allocations: 4 kB / 272 MB, free: 13.04 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 7.609e-05/0.004728, allocations: 184.3 kB / 272.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.004753, allocations: 7.984 kB / 272.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.004773, allocations: 7.312 kB / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004775, allocations: 0 / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.004778, allocations: 3.938 kB / 272.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.004781, allocations: 4 kB / 272.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.004896, allocations: 65.89 kB / 272.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.004897, allocations: 0 / 272.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.004931, allocations: 11.98 kB / 272.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004933, allocations: 0 / 272.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.004938, allocations: 4 kB / 272.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.00494, allocations: 4 kB / 272.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.004942, allocations: 3.938 kB / 272.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.005312, allocations: 0.9188 MB / 273.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.005324, allocations: 11.94 kB / 273.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.005335, allocations: 4 kB / 273.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.005395, allocations: 4 kB / 273.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.00545, allocations: 3.984 kB / 273.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.005457, allocations: 8 kB / 273.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.448e-05/0.005471, allocations: 4.859 kB / 273.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005471, allocations: 4 kB / 273.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.005735, allocations: 12 kB / 273.3 MB, free: 11.69 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 6.214e-05/0.005797, allocations: 76.41 kB / 273.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.005871, allocations: 33.64 kB / 273.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.005874, allocations: 0 / 273.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.00589, allocations: 12.86 kB / 273.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.005995, allocations: 12.31 kB / 273.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.006223, allocations: 220.3 kB / 273.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.006252, allocations: 55.36 kB / 273.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.006276, allocations: 7.984 kB / 273.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.006323, allocations: 59.38 kB / 273.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006323, allocations: 0 / 273.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.001923/0.008246, allocations: 0.7272 MB / 274.5 MB, free: 10.41 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.5438122428022325]