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.0007894/0.0007894, allocations: 80.44 kB / 20.7 MB, free: 3.867 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.0008232/0.0008232, allocations: 169.9 kB / 23.97 MB, free: 0.5938 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.7732/0.7732, allocations: 158.6 MB / 185.7 MB, free: 3.031 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.03627/0.03627, allocations: 10.65 MB / 248.6 MB, free: 4.723 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.994e-06/1.994e-06, allocations: 0 / 370.1 MB, free: 5.926 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.089e-05, allocations: 2.281 kB / 370.1 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002008/0.002039, allocations: 0.6903 MB / 370.8 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.002309, allocations: 59.75 kB / 370.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.002344, allocations: 0 / 370.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.002374, allocations: 7.875 kB / 370.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.002456, allocations: 4 kB / 370.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.002621, allocations: 19.97 kB / 370.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.00273, allocations: 27.86 kB / 370.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.002829, allocations: 4 kB / 370.9 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.00288, allocations: 11.98 kB / 370.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.002943, allocations: 11.98 kB / 370.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.00297, allocations: 8 kB / 370.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.002979, allocations: 0 / 370.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.003, allocations: 11.94 kB / 371 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.003025, allocations: 7.984 kB / 371 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.361e-05/0.003119, allocations: 15.97 kB / 371 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003122, allocations: 0 / 371 MB, free: 5.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.003124, allocations: 4 kB / 371 MB, free: 5.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003128, allocations: 0 / 371 MB, free: 5.039 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.0003998/0.003528, allocations: 254.4 kB / 371.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.003569, allocations: 8.031 kB / 371.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.003609, allocations: 16.89 kB / 371.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.003769, allocations: 109.7 kB / 371.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.00378, allocations: 8.312 kB / 371.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.00379, allocations: 384 / 371.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.003998, allocations: 102.5 kB / 371.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004006, allocations: 192 / 371.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.004018, allocations: 384 / 371.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004024, allocations: 4.375 kB / 371.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.004184, allocations: 43.89 kB / 371.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.004556, allocations: 209.5 kB / 371.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.00472, allocations: 65.19 kB / 371.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.004806, allocations: 33.77 kB / 371.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.004827, allocations: 3.984 kB / 371.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.004854, allocations: 38.48 kB / 371.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.004856, allocations: 4 kB / 371.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003462/0.005202, allocations: 97.48 kB / 372 MB, free: 3.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.00526, allocations: 110.7 kB / 372.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.005329, allocations: 97.86 kB / 372.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.005344, allocations: 25.7 kB / 372.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.005387, allocations: 84.14 kB / 372.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.005404, allocations: 8.203 kB / 372.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.005443, allocations: 21.7 kB / 372.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.005536, allocations: 310.8 kB / 372.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/0.00562, allocations: 24.84 kB / 372.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.005713, allocations: 64.25 kB / 372.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.005854, allocations: 53.66 kB / 372.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005856, allocations: 0 / 372.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001897/0.006046, allocations: 69.67 kB / 372.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.006065, allocations: 11.98 kB / 372.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.006074, allocations: 3.938 kB / 372.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.006092, allocations: 0 / 372.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.00618, allocations: 11.94 kB / 372.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006185, allocations: 64 / 372.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.00623, allocations: 11.98 kB / 372.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.006238, allocations: 4 kB / 372.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.007e-05/0.006308, allocations: 94.09 kB / 372.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.299e-05/0.006361, allocations: 52.22 kB / 373 MB, free: 2.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.741e-05/0.006429, allocations: 25.7 kB / 373 MB, free: 2.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.006432, allocations: 4 kB / 373 MB, free: 2.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001131/0.006545, allocations: 57.61 kB / 373.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.006552, allocations: 8 kB / 373.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.006555, allocations: 4 kB / 373.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.006559, allocations: 3.938 kB / 373.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.006594, allocations: 7.984 kB / 373.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-06/0.006596, allocations: 4 kB / 373.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.00663, allocations: 4 kB / 373.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-06/0.006633, allocations: 0 / 373.1 MB, free: 2.633 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.492e-05/0.006718, allocations: 184.2 kB / 373.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.006742, allocations: 8.062 kB / 373.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.006765, allocations: 15.19 kB / 373.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006767, allocations: 0 / 373.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.006771, allocations: 4 kB / 373.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006775, allocations: 0 / 373.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.006914, allocations: 105.3 kB / 373.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006915, allocations: 0 / 373.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.482e-05/0.00697, allocations: 11.98 kB / 373.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.006975, allocations: 4 kB / 373.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.006982, allocations: 0 / 373.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.006986, allocations: 11.88 kB / 373.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.006987, allocations: 0 / 373.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.007554, allocations: 0.9696 MB / 374.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.007564, allocations: 0 / 374.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.007581, allocations: 7.984 kB / 374.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.007661, allocations: 4 kB / 374.4 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.007705, allocations: 8.406 kB / 374.4 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.00771, allocations: 8 kB / 374.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.007753, allocations: 79.27 kB / 374.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007753, allocations: 4 kB / 374.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005799/0.008333, allocations: 11.94 kB / 374.5 MB, free: 1.105 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.258e-05/0.008426, allocations: 95.19 kB / 374.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.008664, allocations: 48.14 kB / 374.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.008667, allocations: 15.94 kB / 374.7 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.008737, allocations: 23.97 kB / 374.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.008983, allocations: 11.23 kB / 374.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.009382, allocations: 250.2 kB / 375 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.009436, allocations: 67.16 kB / 375 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.009471, allocations: 8.625 kB / 375 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009471, allocations: 4 kB / 375 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of Templates: time 0.001942/0.01141, allocations: 0.6679 MB / 375.7 MB, free: 15.85 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] 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: 3.9147872580215335]