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.0009104/0.0009104, allocations: 96.2 kB / 20.44 MB, free: 4.133 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.0009761/0.0009761, allocations: 165 kB / 23.81 MB, free: 0.7617 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.8648/0.8648, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.07684/0.07684, allocations: 10.66 MB / 248.7 MB, free: 4.457 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.613e-06/1.613e-06, allocations: 0 / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.173e-05, allocations: 6.25 kB / 317.8 MB, free: 41.96 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001269/0.001291, allocations: 0.699 MB / 318.5 MB, free: 41.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000207/0.001498, allocations: 63.73 kB / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.001528, allocations: 0 / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.001555, allocations: 0 / 318.6 MB, free: 41.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.001637, allocations: 7.938 kB / 318.6 MB, free: 41.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.001771, allocations: 15.98 kB / 318.6 MB, free: 41.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.001863, allocations: 27.91 kB / 318.6 MB, free: 41.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.001946, allocations: 8 kB / 318.6 MB, free: 41.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.001987, allocations: 11.98 kB / 318.6 MB, free: 41.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.002034, allocations: 11.98 kB / 318.7 MB, free: 41.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.002053, allocations: 4 kB / 318.7 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.002061, allocations: 3.938 kB / 318.7 MB, free: 41.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.002077, allocations: 15.92 kB / 318.7 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.002096, allocations: 3.375 kB / 318.7 MB, free: 41.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.014e-05/0.002166, allocations: 19.92 kB / 318.7 MB, free: 41.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002168, allocations: 4 kB / 318.7 MB, free: 41.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002168, allocations: 0 / 318.7 MB, free: 41.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.002172, allocations: 0 / 318.7 MB, free: 41.13 MB / 282.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.0002793/0.002451, allocations: 362.7 kB / 319.1 MB, free: 40.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.002489, allocations: 8.031 kB / 319.1 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.00253, allocations: 9.234 kB / 319.1 MB, free: 40.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.002637, allocations: 112.6 kB / 319.2 MB, free: 40.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.002646, allocations: 4.375 kB / 319.2 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.002656, allocations: 384 / 319.2 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.002795, allocations: 123.6 kB / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.002802, allocations: 4.188 kB / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.002818, allocations: 384 / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.002825, allocations: 384 / 319.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.002858, allocations: 15.92 kB / 319.3 MB, free: 40.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.003087, allocations: 259.6 kB / 319.6 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.052e-05/0.003147, allocations: 66.06 kB / 319.6 MB, free: 40.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.003174, allocations: 23.48 kB / 319.7 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.00319, allocations: 4 kB / 319.7 MB, free: 40 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.003207, allocations: 45.33 kB / 319.7 MB, free: 39.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.003208, allocations: 0 / 319.7 MB, free: 39.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000134/0.003342, allocations: 53.62 kB / 319.8 MB, free: 39.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.003366, allocations: 110.8 kB / 319.9 MB, free: 39.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.003406, allocations: 153.9 kB / 320 MB, free: 39.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.003413, allocations: 25.7 kB / 320.1 MB, free: 39.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.003437, allocations: 134.8 kB / 320.2 MB, free: 39.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.003453, allocations: 7.938 kB / 320.2 MB, free: 39.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.003475, allocations: 19.62 kB / 320.2 MB, free: 39.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.003512, allocations: 0.4923 MB / 320.7 MB, free: 38.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.003531, allocations: 11.69 kB / 320.7 MB, free: 38.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.003553, allocations: 56.75 kB / 320.8 MB, free: 38.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.003584, allocations: 31.31 kB / 320.8 MB, free: 38.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003585, allocations: 0 / 320.8 MB, free: 38.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.949e-05/0.003635, allocations: 45.69 kB / 320.8 MB, free: 38.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.003645, allocations: 8 kB / 320.9 MB, free: 38.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.00365, allocations: 9.047 kB / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.003662, allocations: 0 / 320.9 MB, free: 38.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.003722, allocations: 11.94 kB / 320.9 MB, free: 38.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.003726, allocations: 3.938 kB / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.003753, allocations: 7.984 kB / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.003758, allocations: 0 / 320.9 MB, free: 38.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.449e-05/0.003782, allocations: 134.9 kB / 321 MB, free: 38.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.596e-05/0.003798, allocations: 52.77 kB / 321.1 MB, free: 38.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.611e-05/0.003814, allocations: 31.39 kB / 321.1 MB, free: 38.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.51e-07/0.003815, allocations: 4 kB / 321.1 MB, free: 38.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.507e-05/0.00385, allocations: 45.59 kB / 321.1 MB, free: 38.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-06/0.003855, allocations: 5.875 kB / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-07/0.003856, allocations: 0 / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-06/0.003857, allocations: 3.938 kB / 321.2 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.419e-05/0.003871, allocations: 4 kB / 321.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.003874, allocations: 9.938 kB / 321.2 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.003889, allocations: 11.94 kB / 321.2 MB, free: 38.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-06/0.003891, allocations: 8.062 kB / 321.2 MB, free: 38.32 MB / 282.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 3.77e-05/0.003928, allocations: 268 kB / 321.5 MB, free: 38.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.003942, allocations: 4 kB / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.003962, allocations: 11.25 kB / 321.5 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.003965, allocations: 4 kB / 321.5 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.003968, allocations: 0 / 321.5 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.003971, allocations: 3.984 kB / 321.5 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.953e-05/0.004041, allocations: 108.6 kB / 321.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004041, allocations: 384 / 321.6 MB, free: 37.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.004061, allocations: 15.98 kB / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.004062, allocations: 4 kB / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.004068, allocations: 0 / 321.6 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.00407, allocations: 7.938 kB / 321.6 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00407, allocations: 0 / 321.6 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.004269, allocations: 1.391 MB / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.004277, allocations: 0 / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.004287, allocations: 0 / 323 MB, free: 36.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.347e-05/0.00432, allocations: 4 kB / 323 MB, free: 36.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.004356, allocations: 11.98 kB / 323 MB, free: 36.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.004358, allocations: 0 / 323 MB, free: 36.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.724e-05/0.004376, allocations: 131.1 kB / 323.1 MB, free: 36.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004376, allocations: 3.938 kB / 323.1 MB, free: 36.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.004676, allocations: 11.94 kB / 323.2 MB, free: 36.23 MB / 282.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 4.857e-05/0.004724, allocations: 100 kB / 323.3 MB, free: 36.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.996e-05/0.004814, allocations: 39.3 kB / 323.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.004815, allocations: 0 / 323.3 MB, free: 36.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.004832, allocations: 15.69 kB / 323.3 MB, free: 36.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.004979, allocations: 8.375 kB / 323.3 MB, free: 36.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.005215, allocations: 291.9 kB / 323.6 MB, free: 35.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.109e-05/0.005236, allocations: 55.3 kB / 323.7 MB, free: 35.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.00526, allocations: 8 kB / 323.7 MB, free: 35.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.005286, allocations: 8.5 kB / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005287, allocations: 0 / 323.7 MB, free: 35.62 MB / 282.7 MB Notification: Performance of Templates: time 0.001945/0.007232, allocations: 0.756 MB / 324.4 MB, free: 34.88 MB / 282.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 -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.7793642790056765]